Skip to content

Commit

Permalink
fix: 레큐 노트 뒤로가기 제대로 안먹히는 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Arooming committed May 17, 2024
1 parent 43cc2b1 commit 66f4d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Detail/components/LecueNoteListContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function LecueNoteListContainer(props: LecueNoteListContainerProps) {
if (isLoggedIn) {
sessionStorage.setItem('scrollPosition', window.scrollY.toString());
const path = isSticker ? '/sticker-pack' : '/create-note';
navigate(path, { state: { bookId }, replace: true });
navigate(path, { state: { bookId } });
} else {
setModalOn(true);
}
Expand Down

0 comments on commit 66f4d98

Please sign in to comment.