logout on factory reset

This commit is contained in:
Michele Balistreri 2024-10-10 13:24:05 +02:00
parent 9c3dece7d0
commit f367743c8b
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ const Main = () => {
break;
case Step.FactoryReset:
await Keycard.factoryReset();
walletKey.current = "";
AsyncStorage.removeItem("wallet-key");
setStep(Step.Discovery);
break;
default: