1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

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 = {