Make LoggedInView a real component because it uses shouldComponentUpdate

React demands this.
This commit is contained in:
Travis Ralston 2020-06-25 07:14:02 -06:00
parent 223c26b033
commit a3b38a2b5f

View file

@ -123,7 +123,7 @@ interface IState {
*
* 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 propTypes = {