From 551a526092adcb73b4ba56156d569851efb148e9 Mon Sep 17 00:00:00 2001 From: haru Date: Tue, 2 Jul 2024 00:36:21 +0900 Subject: [PATCH] chore: update files --- src/app/_components/social-edit.tsx | 1 + 1 file changed, 1 insertion(+) 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: () => {