update useProfile hook

This commit is contained in:
Ren Amamiya
2023-07-10 14:20:36 +07:00
parent 4e36b2d902
commit 2a4c3dd7c8
8 changed files with 19 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ export function ImportStep2Screen() {
setPassword(data.password);
// save privkey to secure storage
await save(pubkey, privkey);
await save(pubkey, privkey, data.password);
// redirect to next step
navigate('/auth/import/step-3', { replace: true });