mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-28 20:51:24 +00:00
fixes
This commit is contained in:
@@ -869,7 +869,7 @@ export async function getWallets() {
|
||||
let res;
|
||||
if (window?.walletStorage) {
|
||||
res = await window.walletStorage.get('wallets');
|
||||
if (!res) {
|
||||
if (!res || res?.length === 0) {
|
||||
const prevWallets = await getData<any>('wallets').catch(() => null);
|
||||
if (prevWallets) {
|
||||
await window.walletStorage.set('wallets', prevWallets);
|
||||
|
Reference in New Issue
Block a user