Skip to content

Commit

Permalink
fix: if no prev provider change button label to "sign in"
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz committed Nov 29, 2023
1 parent 55f4e15 commit d0d0203
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ export const WalletButton = () => {
<Button className={`gap-1.5 py-0 ${walletInfo ? "pr-2" : "pr-4"}`}>
<div className="flex flex-row relative h-full gap-4">
<div onClick={() => handleWalletConnect()} className="inline-flex items-center gap-2">
Sign in with
{walletInfo && <WalletIcon />}
Sign in
{walletInfo && (
<>
{" "}
with
<WalletIcon />
</>
)}
</div>
{walletInfo && (
<div
Expand Down

1 comment on commit d0d0203

@vercel
Copy link

@vercel vercel bot commented on d0d0203 Nov 29, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.