Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Jan 11, 2024
1 parent cbfbf66 commit 4dc34fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/(withAuth)/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ async function updateDisplayName(formData: FormData): Promise<void> {
displayName: input.displayName,
},
});

// ユーザ名の変更を全ページに反映する。
revalidatePath('/', 'layout');
}

Expand Down

0 comments on commit 4dc34fb

Please sign in to comment.