Skip to content

Commit

Permalink
설정으로 이동 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Mar 1, 2025
1 parent 0b96953 commit 9a1a09a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/pages/my/MyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ export default function MyPage() {
navigate('/votes/regist');
};

const handleClickSettingsButton = () => {
navigate('/settings');
};

return (
<div className="w-full h-full overflow-hidden">
<Header
leftNode={<Logo style={{ width: 70 }} />}
rightNode={<Icon name="SettingsOutline" size="medium" />}
rightNode={
<Icon
name="SettingsOutline"
size="medium"
onClick={handleClickSettingsButton}
/>
}
/>
<div className="pt-[105px] px-6 w-full h-full flex flex-col gap-[30px]">
<Suspense fallback={<Loading className="h-[100px]" />}>
Expand Down

0 comments on commit 9a1a09a

Please sign in to comment.