Skip to content

Commit

Permalink
adjusted the logic in the onClickClose function on the AccountSetting…
Browse files Browse the repository at this point in the history
…s page
  • Loading branch information
corypride committed May 16, 2024
1 parent 277b5fc commit 77f6d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publisher/src/components/Settings/AccountSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const AccountSettings = () => {
setEmail(userStore?.email || "");
editModeAndTypeUpdate();
setName(userStore?.name || "");
setIsSettingInEditMode(!isSettingInEditMode);
setIsSettingInEditMode(false);
};
const editModeAndTypeUpdate = () => {
setIsSettingInEditMode(!isSettingInEditMode);
Expand Down

0 comments on commit 77f6d78

Please sign in to comment.