logout on factory reset
This commit is contained in:
parent
9c3dece7d0
commit
f367743c8b
|
@ -138,6 +138,8 @@ const Main = () => {
|
|||
break;
|
||||
case Step.FactoryReset:
|
||||
await Keycard.factoryReset();
|
||||
walletKey.current = "";
|
||||
AsyncStorage.removeItem("wallet-key");
|
||||
setStep(Step.Discovery);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue