Skip to content

Commit

Permalink
replace instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
sipec committed Mar 13, 2024
1 parent 5c11ac1 commit 856a05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/topics/delete-topic-modal.tsx
Expand Up @@ -59,7 +59,7 @@ export function DeleteTopicModal(props: {
.then(() => {
setLoading(false)
toast.success('Topic deleted')
router.push('/browse')
router.replace('/browse')
})
.catch((e) => {
setLoading(false)
Expand Down

0 comments on commit 856a05e

Please sign in to comment.