mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
1 parent
c304670f47
commit
53f3ccc888
1 file changed
+1
-1
@@ -56,7 +56,7 @@ function RoomViewHeader({ roomId }) {
|
||||
|
||||
roomList.on(cons.events.roomList.ROOM_PROFILE_UPDATED, handleProfileUpdate);
|
||||
return () => {
|
||||
roomList.on(cons.events.roomList.ROOM_PROFILE_UPDATED, handleProfileUpdate);
|
||||
roomList.removeListener(cons.events.roomList.ROOM_PROFILE_UPDATED, handleProfileUpdate);
|
||||
};
|
||||
}, [roomId]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user