Skip to content

Commit

Permalink
chore: update useDeleteProfile redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Aug 23, 2024
1 parent ab32a8b commit 12642b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(marketing)/profile/_hooks/useDeleteProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const useDeleteProfile = () => {
const submitWithSign = useSubmitWithSign<object>(createProfile, {
onSuccess: () => {
revalidateProfile()
router.replace("/create-profile")
router.replace("/create-profile/claim-pass")
toast({
variant: "success",
title: "Successfully deleted profile",
Expand Down

0 comments on commit 12642b5

Please sign in to comment.