Return null in iframe component

This commit is contained in:
Adw8 2024-11-07 16:30:12 +05:30
parent a1cc6307cf
commit 42d0c06b50

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;
};