We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416139e commit 178ef24Copy full SHA for 178ef24
src/components/global/infobar/notifications/index.tsx
@@ -6,8 +6,8 @@ import { useRouter } from "next/navigation";
6
7
export const Notifications = ({ slug }: { slug: string }) => {
8
const router = useRouter();
9
- const { notification } = useUserUnseenNotifications();
10
- const unSeenNotification = notification?.filter((n) => n.isSeen == false);
+ const { notifications } = useUserUnseenNotifications();
+ const unSeenNotification = notifications?.filter((n) => n.isSeen == false);
11
12
return (
13
<Button
0 commit comments