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 e995bb0 commit 6b80475Copy full SHA for 6b80475
src/components/Header.tsx
@@ -21,7 +21,7 @@ export default function Header() {
21
22
const toggleOpen = () => setIsOpen((prev) => !prev);
23
24
- const { data } = useNotifications({ size: 10 });
+ const { data } = useNotifications({ size: 10 }, isLoggedIn);
25
const hasNotification = (data?.totalCount ?? 0) > 0;
26
27
const handleLogoClick = () => {
0 commit comments