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