Make LoggedInView a real component because it uses shouldComponentUpdate
React demands this.
This commit is contained in:
parent
223c26b033
commit
a3b38a2b5f
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue