Remove unused CIDER setting watcher
This setting watcher for CIDER seems unused and logs a warning at the moment, so this change removes it.pull/21833/head
parent
82eefb69f6
commit
8e39bd8885
|
@ -460,8 +460,6 @@ export default createReactClass({
|
||||||
// (We could use isMounted, but facebook have deprecated that.)
|
// (We could use isMounted, but facebook have deprecated that.)
|
||||||
this.unmounted = true;
|
this.unmounted = true;
|
||||||
|
|
||||||
SettingsStore.unwatchSetting(this._ciderWatcherRef);
|
|
||||||
|
|
||||||
// update the scroll map before we get unmounted
|
// update the scroll map before we get unmounted
|
||||||
if (this.state.roomId) {
|
if (this.state.roomId) {
|
||||||
RoomScrollStateStore.setScrollState(this.state.roomId, this._getScrollState());
|
RoomScrollStateStore.setScrollState(this.state.roomId, this._getScrollState());
|
||||||
|
|
Loading…
Reference in New Issue