Skip to content

Commit

Permalink
chore: update files
Browse files Browse the repository at this point in the history
  • Loading branch information
haru52 committed Jul 1, 2024
1 parent 9c1ac17 commit 551a526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/_components/social-edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function SocialEdit({
const updateSocial = api.social.update.useMutation({
onSuccess: () => {
setIsEditing(false);
router.push(`/socials/${screenName}`);
router.refresh();
},
onError: () => {
Expand Down

0 comments on commit 551a526

Please sign in to comment.