diff --git a/src/ui/routes/AccountSettingsRoute.tsx b/src/ui/routes/AccountSettingsRoute.tsx index 0f797bc..60988a5 100644 --- a/src/ui/routes/AccountSettingsRoute.tsx +++ b/src/ui/routes/AccountSettingsRoute.tsx @@ -241,6 +241,8 @@ export class KeySettingsSection extends React.Component< await AccountHelper.RegisterKey(name, credential); snackbar("Successfully enrolled a new key!"); + + this.setState({ counter: this.state.counter + 1 }); } catch (e) { console.error(e); matAlert("Failed to register a new key!");