diff --git a/src/IdentityAuthClient.tsx b/src/IdentityAuthClient.tsx index 116875cab2..ae55c20438 100644 --- a/src/IdentityAuthClient.tsx +++ b/src/IdentityAuthClient.tsx @@ -35,9 +35,9 @@ import { abbreviateUrl } from "./utils/UrlUtils"; export class AbortedIdentityActionError extends Error {} export default class IdentityAuthClient { - accessToken: string; - tempClient: MatrixClient; - authEnabled = true; + private accessToken: string; + private tempClient: MatrixClient; + private authEnabled = true; /** * Creates a new identity auth client diff --git a/src/NodeAnimator.tsx b/src/NodeAnimator.tsx index b0d74ec00e..1a8942f5f5 100644 --- a/src/NodeAnimator.tsx +++ b/src/NodeAnimator.tsx @@ -27,7 +27,7 @@ interface IProps { export default class NodeAnimator extends React.Component { private nodes = {}; private children: { [key: string]: React.DetailedReactHTMLElement }; - static defaultProps: Partial = { + public static defaultProps: Partial = { startStyles: [], };