fix user abort

This commit is contained in:
PhilReact 2024-04-25 12:48:46 +03:00
parent 5e5e8a2cd2
commit f29e9a62fb

View File

@ -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
}