Skip to content

Commit

Permalink
Fix : profile update
Browse files Browse the repository at this point in the history
  • Loading branch information
oikkoikk committed Oct 7, 2023
1 parent 0072717 commit acbe945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gnb/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
};
Expand Down

0 comments on commit acbe945

Please sign in to comment.