From 8e39bd8885c3ae0194cc2794ed9817b0bf42202d Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 24 Feb 2020 12:36:25 +0000 Subject: [PATCH] Remove unused CIDER setting watcher This setting watcher for CIDER seems unused and logs a warning at the moment, so this change removes it. --- src/components/structures/RoomView.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index acc87d9616..0efa46416e 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -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());