From 6deb2e1272bf3003029116539d7fd1b0f5206a1c Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Tue, 10 Dec 2024 09:38:37 +0100 Subject: [PATCH] Remove unneeded disconnect button --- dapp/src/components/Header/ConnectWallet.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dapp/src/components/Header/ConnectWallet.tsx b/dapp/src/components/Header/ConnectWallet.tsx index 248b31b8c..8040b47da 100644 --- a/dapp/src/components/Header/ConnectWallet.tsx +++ b/dapp/src/components/Header/ConnectWallet.tsx @@ -97,7 +97,7 @@ export default function ConnectWallet() { id: "Disconnect", icon: IconLogout, label: "Disconnect", - onClick: onDisconnect, + onClick: handleDisconnectWallet, closeOnSelect: true, isSupported: true, }, @@ -191,17 +191,6 @@ export default function ConnectWallet() { ), )} - - - } - px={2} - boxSize={5} - onClick={handleDisconnectWallet} - /> -