diff --git a/src/app/_components/social-edit.tsx b/src/app/_components/social-edit.tsx index 7e72171..f008c74 100644 --- a/src/app/_components/social-edit.tsx +++ b/src/app/_components/social-edit.tsx @@ -24,6 +24,7 @@ export function SocialEdit({ const updateSocial = api.social.update.useMutation({ onSuccess: () => { setIsEditing(false); + router.push(`/socials/${screenName}`); router.refresh(); }, onError: () => {