From 42d0c06b504ee149d2edb9278192e70e652b1880 Mon Sep 17 00:00:00 2001 From: Adw8 Date: Thu, 7 Nov 2024 16:30:12 +0530 Subject: [PATCH] Return null in iframe component --- src/components/WalletEmbed.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/WalletEmbed.tsx b/src/components/WalletEmbed.tsx index cfc42f7..bd271b8 100644 --- a/src/components/WalletEmbed.tsx +++ b/src/components/WalletEmbed.tsx @@ -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

Text

; + return null; };