You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Remove unused CIDER setting watcher
This setting watcher for CIDER seems unused and logs a warning at the moment, so this change removes it.
This commit is contained in:
@@ -460,8 +460,6 @@ export default createReactClass({
|
||||
// (We could use isMounted, but facebook have deprecated that.)
|
||||
this.unmounted = true;
|
||||
|
||||
SettingsStore.unwatchSetting(this._ciderWatcherRef);
|
||||
|
||||
// update the scroll map before we get unmounted
|
||||
if (this.state.roomId) {
|
||||
RoomScrollStateStore.setScrollState(this.state.roomId, this._getScrollState());
|
||||
|
||||
Reference in New Issue
Block a user