Refactor wallet storage and subscription handling
- Updated WalletStore to manage localStorage and handle storage events more effectively. - Introduced mockAccountsSubscribe in constants for better account subscription handling. - Removed unnecessary storage subscription from InjectionConfig. - Enhanced Wallet class to utilize new account and metadata management methods.
This commit is contained in:
1 parent
1966988769
commit
38574daace
6 files changed
+78
-44
No files matched your search
@@ -6,7 +6,6 @@ export const parseWalletsFromStartParam = (webApp: WebApp): ConnectResult['walle
|
||||
if (!startParam) return null;
|
||||
|
||||
const result = decodeResult(startParam);
|
||||
console.log('parseWalletsFromStartParam', result);
|
||||
return 'wallets' in result ? result.wallets : null;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user