forked from cerc-io/laconic-wallet-web
Return null in iframe component
This commit is contained in:
parent
a1cc6307cf
commit
42d0c06b50
@ -1,4 +1,4 @@
|
|||||||
import React, { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
import { createWallet } from '../utils/accounts';
|
import { createWallet } from '../utils/accounts';
|
||||||
import { useNetworks } from '../context/NetworksContext';
|
import { useNetworks } from '../context/NetworksContext';
|
||||||
|
|
||||||
@ -73,5 +73,5 @@ export const WalletEmbed = () => {
|
|||||||
return () => window.removeEventListener('message', handleCreateAccounts);
|
return () => window.removeEventListener('message', handleCreateAccounts);
|
||||||
}, [networksData]);
|
}, [networksData]);
|
||||||
|
|
||||||
return <p style={{ color: 'white' }}>Text</p>;
|
return null;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user