fix: clear full state on disconnect
This commit is contained in:
@@ -132,7 +132,7 @@ export function createConfig(cfg: Config): Wallet {
|
||||
store.setState(getInitialState(), true);
|
||||
return { status: 'disconnected' as const };
|
||||
} catch (err) {
|
||||
store.setState(getInitialState());
|
||||
store.setState(getInitialState(), true);
|
||||
return { status: 'disconnected' as const };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user