Skip to content

Commit

Permalink
Remove unneeded disconnect button
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Dec 10, 2024
1 parent 6b063e6 commit 6deb2e1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions dapp/src/components/Header/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function ConnectWallet() {
id: "Disconnect",
icon: IconLogout,
label: "Disconnect",
onClick: onDisconnect,
onClick: handleDisconnectWallet,
closeOnSelect: true,
isSupported: true,
},
Expand Down Expand Up @@ -191,17 +191,6 @@ export default function ConnectWallet() {
</Tooltip>
),
)}

<Tooltip size="xs" label="Disconnect">
<IconButton
variant="ghost"
aria-label="Disconnect"
icon={<Icon as={IconLogout} boxSize={5} />}
px={2}
boxSize={5}
onClick={handleDisconnectWallet}
/>
</Tooltip>
</HStack>
</Flex>
</HStack>
Expand Down

0 comments on commit 6deb2e1

Please sign in to comment.