This commit is contained in:
Ren Amamiya
2023-09-17 08:43:42 +07:00
parent 8726e22b38
commit cdf86a2613
6 changed files with 18 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ export function ImportStep1Screen() {
setPubkey(pubkey);
// add account to local database
db.createAccount(npub, pubkey);
await db.createAccount(npub, pubkey);
// redirect to step 2 with delay 1.2s
setTimeout(() => navigate('/auth/import/step-2', { replace: true }), 1200);