Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
9f1fb537
Unverified
Commit
9f1fb537
authored
Jun 02, 2020
by
Hanwen Cheng
Committed by
GitHub
Jun 02, 2020
Browse files
chore: reset current identity in async way (#634)
parent
77195601
Pipeline
#94970
failed with stages
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/IdentitiesSwitch.tsx
View file @
9f1fb537
...
...
@@ -92,10 +92,10 @@ function IdentitiesSwitch({
}
}
;
const onLegacyListClicked = async (): Promise
<
void
>
=>
{
await
accounts
.
resetCurrentIdentity
();
const onLegacyListClicked = (): void =>
{
setVisible
(
false
);
navigateToLegacyAccountList
(
navigation
);
accounts
.
resetCurrentIdentity
();
}
;
const renderIdentityOptions = (identity: Identity): React.ReactElement =>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment