Skip to content

Commit

Permalink
fix: redirect to /home after deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Liu committed Jan 23, 2025
1 parent a03b81e commit 445d344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/DeleteDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function DeleteButton({session}: {session: Session}) {
}, 1 * 1000)
setTimeout(async () => {
await supabase.auth.signOut()
router.push('/')
router.push('/home')
}, 3 * 1000)
track('Delete', {success: true})
}
Expand Down

0 comments on commit 445d344

Please sign in to comment.