diff --git a/src/components/gnb/NavBar.tsx b/src/components/gnb/NavBar.tsx index 95f2b75..a02ba5d 100644 --- a/src/components/gnb/NavBar.tsx +++ b/src/components/gnb/NavBar.tsx @@ -30,7 +30,7 @@ export default function NavBar({ logo, profileDropdown }: Props) { const profileButtonClickHandler = async (name: string) => { setIsEditMode((prev) => !prev); - + setName(() => name); mutate(); await update({ ...session, name }); };