Skip to content

Commit

Permalink
feat: 바뀐 라우터 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbeann committed Jan 14, 2024
1 parent e4d455b commit fa51fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Detail/components/LecueNoteListContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function LecueNoteListContainer({
} else {
// editable 상태 변경
setIsEditable(false);
navigate('/detail');
navigate('/lecue-book');
}
}, [state]);

Expand Down Expand Up @@ -90,7 +90,7 @@ function LecueNoteListContainer({
const handleClickDone = () => {
setIsEditable(true);
sessionStorage.removeItem('scrollPosition');
navigate('/detail');
navigate('/lecue-book');
};

return (
Expand Down

0 comments on commit fa51fa5

Please sign in to comment.