Add new component WalletEmbed to handle tx requests via iframe messaging #18

Merged
nabarun merged 16 commits from deep-stack/laconic-wallet-web:ag-iframe into main 2024-11-12 09:46:17 +00:00
Showing only changes of commit 42d0c06b50 - Show all commits

View File

@ -1,4 +1,4 @@
import React, { useEffect } from 'react';
import { useEffect } from 'react';
import { createWallet } from '../utils/accounts';
import { useNetworks } from '../context/NetworksContext';
@ -73,5 +73,5 @@ export const WalletEmbed = () => {
return () => window.removeEventListener('message', handleCreateAccounts);
}, [networksData]);
return <p style={{ color: 'white' }}>Text</p>;
return null;
};