Resolve the exhaustive-deps findings and attach cause to the rethrown errors. [skip build]
This commit is contained in:
@@ -472,7 +472,7 @@ export function TitleBar({ mx, children }: TitleBarProps) {
|
||||
mx.off(RoomEvent.Receipt, update);
|
||||
mx.off(ClientEvent.Room, update);
|
||||
};
|
||||
}, [mx, roomId, scheduleDismiss, notificationData, shouldNotifySpecialMessage]);
|
||||
}, [mx, roomId, scheduleDismiss, notificationData, shouldNotifySpecialMessage, mDirects]);
|
||||
|
||||
// Clear notifications when user reads messages in a room
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user