Merge pull request #4832 from matrix-org/travis/react-can-shush

Make LoggedInView a real component because it uses shouldComponentUpdate
pull/21833/head
Travis Ralston 2020-06-25 07:17:56 -06:00 committed by GitHub
commit 92f0f1a5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = {