Remove the unwanted comments
This commit is contained in:
@@ -45,15 +45,13 @@ export const useWebViewHandler = () => {
|
||||
window.Android?.onAccountError?.('No networks configured');
|
||||
return;
|
||||
}
|
||||
console.log('Available networks:', networksData);
|
||||
|
||||
// Create wallet using the provided mnemonic if it doesn't exist
|
||||
const walletExists = await isWalletCreated();
|
||||
console.log('Wallet exists:', walletExists);
|
||||
if (!walletExists) {
|
||||
console.log('Creating wallet with mnemonic:', mnemonic);
|
||||
await createWallet(networksData, mnemonic);
|
||||
}
|
||||
console.log('Wallet created or already exists');
|
||||
|
||||
// Find the requested network
|
||||
const requestedNetwork = networksData.find(network => network.chainId === chainId);
|
||||
if (!requestedNetwork) {
|
||||
|
||||
Reference in New Issue
Block a user