Skip to content

Commit

Permalink
change route
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jun 18, 2024
1 parent 6b1ef11 commit 1572423
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/(main)/_components/Pastelog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export default function Pastelog() {
setLoading(false);
return;
}
router.push(`/logs/publish/${id}`);
// Push the route and then reload the page
router.push(`/logs/${id}`);
setLoading(false);
}

Expand Down

0 comments on commit 1572423

Please sign in to comment.