Skip to content

Commit d528b1a

Browse files
committed
feat: 비로그인 상태에서 알림 아이콘 안 보이게 처리
1 parent 179a33c commit d528b1a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/components/Header/index.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ export const Header = ({ prev, title, info, complete, onComplete }) => {
6363
<InnerRight>
6464
{info && (
6565
<>
66-
<Badge dot={isSeen}>
67-
<Icon.Link to="/user/notification" name="NOTIFICATION" size={30} />
68-
</Badge>
66+
{token && (
67+
<Badge dot={isSeen}>
68+
<Icon.Link to="/user/notification" name="NOTIFICATION" size={30} />
69+
</Badge>
70+
)}
6971
<Icon.Link to="/user/myinfo" name="MY_INFO" size={30} />
7072
</>
7173
)}

0 commit comments

Comments
 (0)