Skip to content

Commit

Permalink
chore: 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Arooming committed Jan 16, 2024
1 parent 7e47008 commit 76d810b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Home/components/NavigateLecueBook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function NavigateLecueBook() {

const handleClickNavBtn = (idx: number) => {
if (localStorage.getItem('token')) {
idx === 0 ? navigate('/create-book') : navigate('/mypage');
idx === 0 ? navigate('/target') : navigate('/mypage');
} else {
setModalOn(true);
}
Expand Down

0 comments on commit 76d810b

Please sign in to comment.