Skip to content

Commit

Permalink
Change the order of wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
jeong-ah-choi committed Jan 5, 2023
1 parent d724abc commit 1ef9126
Showing 1 changed file with 27 additions and 28 deletions.
55 changes: 27 additions & 28 deletions features/Contract/components/WalletConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,33 @@ const WalletConnect: React.FC = () => {
) : (
<>
<Header />
<div className="flex flex-col gap-1">
<Button
variant="gray"
className={clsx([
`font-normal gap-2`,
!isCoinbaseSupported &&
'border border-tequila-light cursor-not-allowed grayscale',
])}
onClick={() => {
setSelectedWalletType(WalletType.Coinbase)
loginCoinbase()
}}
>
<img
src="/wallets/coinbase.png"
width={20}
height={20}
alt="coinbase"
/>
<span className="w-20">Coinbase</span>
</Button>
{!isCoinbaseSupported && (
<p className="text-xs text-tequila-light">
Coinbase wallet is not installed.
</p>
)}
</div>
<div className="mt-2 flex flex-col gap-2">
<div className="flex flex-col gap-1">
<Button
Expand Down Expand Up @@ -215,34 +242,6 @@ const WalletConnect: React.FC = () => {
</p>
)}
</div>

<div className="flex flex-col gap-1">
<Button
variant="gray"
className={clsx([
`font-normal gap-2`,
!isCoinbaseSupported &&
'border border-tequila-light cursor-not-allowed grayscale',
])}
onClick={() => {
setSelectedWalletType(WalletType.Coinbase)
loginCoinbase()
}}
>
<img
src="/wallets/coinbase.png"
width={20}
height={20}
alt="coinbase"
/>
<span className="w-20">Coinbase</span>
</Button>
{!isCoinbaseSupported && (
<p className="text-xs text-tequila-light">
Coinbase wallet is not installed.
</p>
)}
</div>
</div>
</>
)}
Expand Down

1 comment on commit 1ef9126

@vercel
Copy link

@vercel vercel bot commented on 1ef9126 Jan 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

coinbase-kup-web – ./

coinbase-kup-web.vercel.app
coinbase-kup-web-git-main-catze.vercel.app
coinbase-kup-web-catze.vercel.app

Please sign in to comment.