diff --git a/components/Layout/NavigationBar.tsx b/components/Layout/NavigationBar.tsx index 4269b12..6a9d6b7 100644 --- a/components/Layout/NavigationBar.tsx +++ b/components/Layout/NavigationBar.tsx @@ -58,7 +58,7 @@ export default function NavigationBar() { } return ( -
+
@@ -78,16 +78,21 @@ export default function NavigationBar() { checked={darkMode} /> {isLoggedIn ? ( -
- diff --git a/components/NavigationDropdown/NavigationDropdown.tsx b/components/NavigationDropdown/NavigationDropdown.tsx index 3379950..7143767 100644 --- a/components/NavigationDropdown/NavigationDropdown.tsx +++ b/components/NavigationDropdown/NavigationDropdown.tsx @@ -6,7 +6,7 @@ export default function NavigationDropdown() { return (
+
알림 {data ? `${data.totalCount}` : '0'}개 diff --git a/pages/mypage.tsx b/pages/mypage.tsx index 9c636e3..7b6f3c3 100644 --- a/pages/mypage.tsx +++ b/pages/mypage.tsx @@ -8,7 +8,6 @@ import useLoginState from '@/hooks/useLoginState'; import { useSideNavigation } from '@/hooks/useSideNavigation'; import { GetServerSideProps } from 'next'; import { useRouter } from 'next/router'; -import { useEffect } from 'react'; export const getServerSideProps: GetServerSideProps = async () => { const OGTitle = '내정보 | GLOBALNOMAD';