Skip to content

Commit

Permalink
Fixes update render
Browse files Browse the repository at this point in the history
  • Loading branch information
George-cl committed May 2, 2021
1 parent be8d36e commit 16b35c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/components/AccountManagementPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const AccountManagementPage = observer((props: Props) => {
const handleUpdateName = () => {
if (selectedAccount) {
props.authContainer.renameUserAccount(selectedAccount.name, name);
props.authContainer.switchToAccount(name);
handleClose();
}
};
Expand Down

0 comments on commit 16b35c7

Please sign in to comment.