1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-02 21:22:41 +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 = {