From eb0dabb57656ec9bfb22535204a00bfc5a952a54 Mon Sep 17 00:00:00 2001 From: samuelea Date: Fri, 10 May 2024 15:06:34 -0400 Subject: [PATCH] google tooltip fix --- .../components/KitProvider/ConnectWalletContent/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx index af7044cb..78330d5b 100644 --- a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx +++ b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx @@ -59,6 +59,11 @@ export const ConnectWalletContent = (props: ConnectWalletContentProps) => { const [showEmailWaasPinInput, setShowEmailWaasPinInput] = useState(false) const [waasEmailPinCode, setWaasEmailPinCode] = useState([]) const { connectors: baseConnectors, connect } = useConnect() + const [enableGoogleTooltip, setEnableGoogleTooltip] = useState(false) + + useEffect(() => { + setTimeout(() => { setEnableGoogleTooltip(true) },300) + }) // EIP-6963 connectors will not have the _wallet property const injectedConnectors: ExtendedConnector[] = baseConnectors @@ -268,7 +273,7 @@ export const ConnectWalletContent = (props: ConnectWalletContentProps) => { return ( {connector._wallet.id === 'google-waas' && ( - +