From 95b17cabd0f2f03261cac73ea7147ba139863f21 Mon Sep 17 00:00:00 2001 From: titix Date: Wed, 11 Sep 2024 12:36:33 -0300 Subject: [PATCH] fix: remove connect wallet btn --- src/components/AddNetworkButton.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/AddNetworkButton.tsx b/src/components/AddNetworkButton.tsx index deb64c3..62c50b2 100644 --- a/src/components/AddNetworkButton.tsx +++ b/src/components/AddNetworkButton.tsx @@ -47,16 +47,18 @@ export const AddNetworkButton = () => { {!isConnected && ( <> - {t('WALLET.connection')} + {t('CHAIN.addNetwork')} )} + {isConnected && !isNetworkAdded && ( {t('CHAIN.addNetwork')} )} + {isConnected && isNetworkAdded && ( {t('CHAIN.networkAdded')}