Make LoggedInView a real component because it uses shouldComponentUpdate

React demands this.
pull/21833/head
Travis Ralston 2020-06-25 07:14:02 -06:00
parent 223c26b033
commit a3b38a2b5f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ interface IState {
* *
* Components mounted below us can access the matrix client via the react context. * Components mounted below us can access the matrix client via the react context.
*/ */
class LoggedInView extends React.PureComponent<IProps, IState> { class LoggedInView extends React.Component<IProps, IState> {
static displayName = 'LoggedInView'; static displayName = 'LoggedInView';
static propTypes = { static propTypes = {