Skip to content

Commit f41e23e

Browse files
remove tooltip from wallets
1 parent a7ee288 commit f41e23e

File tree

2 files changed

+22
-31
lines changed

2 files changed

+22
-31
lines changed

www/src/bip322_bg.wasm

-896 Bytes
Binary file not shown.

www/src/components/ConnectWallet.tsx

+22-31
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,30 @@ const ConnectWalletForm = ({ onBack }: ConnectWalletFormProps) => {
2222
const isMissingWallet = !walletState.hasWallet[wallet.name];
2323
return (
2424
<div key={wallet.name} className="w-full">
25-
<TooltipWrapper
26-
showTooltip
27-
tooltipLabel={
28-
isMissingWallet
29-
? `install ${wallet.name}`
30-
: `connect ${wallet.name}`
31-
}
32-
>
33-
{isMissingWallet ? (
34-
<BaseButton
35-
variant="icon"
36-
asChild
37-
className="bg-transparent/5 backdrop-blur-sm"
38-
>
39-
<a
40-
href={wallet.url}
41-
target="_blank"
42-
rel="noopener noreferrer"
43-
className="flex items-center justify-center"
44-
>
45-
<WalletIcon walletName={wallet.name} size={32} />
46-
</a>
47-
</BaseButton>
48-
) : (
49-
<BaseButton
50-
variant="icon"
51-
className="wallet-button-available"
52-
onClick={() => walletActions.handleConnect(wallet.name)}
25+
{isMissingWallet ? (
26+
<BaseButton
27+
variant="icon"
28+
asChild
29+
className="bg-transparent/5 backdrop-blur-sm"
30+
>
31+
<a
32+
href={wallet.url}
33+
target="_blank"
34+
rel="noopener noreferrer"
35+
className="flex items-center justify-center"
5336
>
5437
<WalletIcon walletName={wallet.name} size={32} />
55-
</BaseButton>
56-
)}
57-
</TooltipWrapper>
38+
</a>
39+
</BaseButton>
40+
) : (
41+
<BaseButton
42+
variant="icon"
43+
className="wallet-button-available"
44+
onClick={() => walletActions.handleConnect(wallet.name)}
45+
>
46+
<WalletIcon walletName={wallet.name} size={32} />
47+
</BaseButton>
48+
)}
5849
</div>
5950
);
6051
})}

0 commit comments

Comments
 (0)