Skip to content

Commit

Permalink
replace router.replace to router.push
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed committed Nov 27, 2023
1 parent 0711dce commit 386d3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Verse/Notes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const VerseNotes = ({
isLoggedIn,
});
if (!isUserLoggedIn) {
router.replace(getLoginNavigationUrl());
router.push(getLoginNavigationUrl());
} else {
setIsModalOpen(true);
}
Expand Down

0 comments on commit 386d3eb

Please sign in to comment.