Fix useUnreadNotifications exploding with falsey room, like in notif panel (#10030)
This commit is contained in:
parent
e2af97c4de
commit
262c2fcff2
4 changed files with 11 additions and 7 deletions
|
@ -21,7 +21,7 @@ import { useUnreadNotifications } from "../../../../hooks/useUnreadNotifications
|
|||
import { StatelessNotificationBadge } from "./StatelessNotificationBadge";
|
||||
|
||||
interface Props {
|
||||
room: Room;
|
||||
room?: Room;
|
||||
threadId?: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue