Skip to content

Commit

Permalink
feat: redirect on profile creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 30, 2024
1 parent 48b4ae9 commit 25bd1a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export const useCreateProfile = () => {
title: "Successfully created profile",
})
confetti.current?.()
// router.push(`/profile/${response.username}`)
// @ts-ignore: TODO: either acquire types from backend, or type them here
router.push(`/profile/${response.username}`)
},
onError: (response) => {
toast({
Expand Down

0 comments on commit 25bd1a4

Please sign in to comment.