Revert componentDidMount changes on breadcrumbs
Fixes https://github.com/vector-im/riot-web/issues/12990 Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/4313
This commit is contained in:
parent
c0ffa8b59a
commit
e741d0d577
2 changed files with 4 additions and 2 deletions
|
@ -44,7 +44,8 @@ const LeftPanel = createReactClass({
|
|||
};
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
// TODO: [REACT-WARNING] Move this to constructor
|
||||
UNSAFE_componentWillMount: function() {
|
||||
this.focusedElement = null;
|
||||
|
||||
this._breadcrumbsWatcherRef = SettingsStore.watchSetting(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue