Skip to content

Commit

Permalink
Merge branch 'feat/navbar' into deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ptyoiy committed May 12, 2024
2 parents f43145a + d212bfe commit 0c2d2bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/axios/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const kakaoLogout = async (client: QueryClient, navigate: NavigateFunctio
client.removeQueries({ queryKey: ['login'] });
client.removeQueries({ queryKey: ['userInfo'] });
client.removeQueries({ queryKey: ['getAlarms'] });
navigate('/My', { replace: true });
navigate('/my', { replace: true });
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/SettingSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SettingsSection = (userData, navigate, initData) => useMemo(() => (
{ meta: "테마", description: "시스템 기본값" },
userData ? {
meta: "알림 설정",
eventHandler: () => navigate("/My/Alarm"),
eventHandler: () => navigate("/my/alarm"),
} : null,
{ meta: "정보를 받아올 학과", description: initData.major }
].filter(Boolean),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MyPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const AlarmSetting = () => {
<AlarmWrapper>
<ContentRow>
<Icon>
<ArrowLeft size={"3vh"} onClick={() => navigate("/My")} />
<ArrowLeft size={"3vh"} onClick={() => navigate("/my")} />
</Icon>
<Icon>
<Settings size={"3vh"} />
Expand Down

0 comments on commit 0c2d2bc

Please sign in to comment.