mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
fix user abort
This commit is contained in:
parent
5e5e8a2cd2
commit
f29e9a62fb
@ -117,7 +117,7 @@ export const createAccount = async()=> {
|
||||
return
|
||||
} catch (err) {
|
||||
// Fail silently if the user has simply canceled the dialog.
|
||||
if (err.name !== 'AbortError') {
|
||||
if (err.name === 'AbortError') {
|
||||
console.error(err.name, err.message)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user