Skip to content

Commit 8576d17

Browse files
committed
[style] 알림 위치 변경
1 parent a745635 commit 8576d17

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/shared/components/header/DropdownMenu.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,26 +128,25 @@ function DropdownMenu({ isClicked, setIsClicked, visible, setVisible }: Props) {
128128
<button
129129
type="button"
130130
onClick={() => {
131-
setLogoutModalOpen(true);
132131
setIsClicked(false);
132+
router.push('/mypage/my-alarm');
133133
}}
134134
className="flex items-center gap-2 text-black font-light text-xl hover:text-black/70"
135135
>
136-
<User color="var(--color-primary)" aria-hidden />
137-
<span>로그아웃</span>
136+
<Bell color="var(--color-primary)" aria-hidden />
137+
<span>알림</span>
138138
</button>
139139

140140
<button
141141
type="button"
142142
onClick={() => {
143+
setLogoutModalOpen(true);
143144
setIsClicked(false);
144-
145-
router.push('/mypage/my-alarm');
146145
}}
147146
className="flex items-center gap-2 text-black font-light text-xl hover:text-black/70"
148147
>
149-
<Bell color="var(--color-primary)" aria-hidden />
150-
<span>알림</span>
148+
<User color="var(--color-primary)" aria-hidden />
149+
<span>로그아웃</span>
151150
</button>
152151
</div>
153152
) : (

0 commit comments

Comments
 (0)