Skip to content

Commit 6b80475

Browse files
committed
fix: 알람 로그인 상태 넣기
1 parent e995bb0 commit 6b80475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Header() {
2121

2222
const toggleOpen = () => setIsOpen((prev) => !prev);
2323

24-
const { data } = useNotifications({ size: 10 });
24+
const { data } = useNotifications({ size: 10 }, isLoggedIn);
2525
const hasNotification = (data?.totalCount ?? 0) > 0;
2626

2727
const handleLogoClick = () => {

0 commit comments

Comments
 (0)