Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 25db3ac

Browse files
committed
Fix _groupFilterOrderStoreToken naming
1 parent 43208c0 commit 25db3ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/structures/GroupFilterPanel.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class GroupFilterPanel extends React.Component {
4444
this.context.on("Group.myMembership", this._onGroupMyMembership);
4545
this.context.on("sync", this._onClientSync);
4646

47-
this._GroupFilterOrderStoreToken = GroupFilterOrderStore.addListener(() => {
47+
this._groupFilterOrderStoreToken = GroupFilterOrderStore.addListener(() => {
4848
if (this.unmounted) {
4949
return;
5050
}
@@ -61,8 +61,8 @@ class GroupFilterPanel extends React.Component {
6161
this.unmounted = true;
6262
this.context.removeListener("Group.myMembership", this._onGroupMyMembership);
6363
this.context.removeListener("sync", this._onClientSync);
64-
if (this._GroupFilterOrderStoreToken) {
65-
this._GroupFilterOrderStoreToken.remove();
64+
if (this._groupFilterOrderStoreToken) {
65+
this._groupFilterOrderStoreToken.remove();
6666
}
6767
}
6868

0 commit comments

Comments
 (0)