File tree 2 files changed +22
-31
lines changed
2 files changed +22
-31
lines changed Original file line number Diff line number Diff line change @@ -22,39 +22,30 @@ const ConnectWalletForm = ({ onBack }: ConnectWalletFormProps) => {
22
22
const isMissingWallet = ! walletState . hasWallet [ wallet . name ] ;
23
23
return (
24
24
< 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"
53
36
>
54
37
< 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
+ ) }
58
49
</ div >
59
50
) ;
60
51
} ) }
You can’t perform that action at this time.
0 commit comments