Skip to content

Commit

Permalink
removed wallet support other than metamask temporarily (#94)
Browse files Browse the repository at this point in the history
Current behaviour: when the user clicks on "connect wallet", several
wallets appear.

Desired behaviour: when the user clicks on "connect wallet", only
Metamask should appear.

The desired behaviour is achieved with the minimum amount of code
changes possible because we would like to reactivate all the wallets in
the future when the WSC integration work is complete.
  • Loading branch information
yogesh0509 authored Feb 22, 2024
1 parent 35ac871 commit cb38e2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const WalletConnectButton = () => {
iconWallet={<WalletOutlined />}
variant="primary"
/>
<CustomButton
{/* <CustomButton
text={isFlintWalletInstalled ? "Flint Wallet" : "Install Flint"}
onClick={isFlintWalletInstalled ? connectFlintWallet : redirectToFlint}
iconWallet={<WalletOutlined />}
Expand Down Expand Up @@ -75,7 +75,7 @@ const WalletConnectButton = () => {
onClick={isNufiWalletInstalled ? connectToNufiWSC : redirectToNufi}
iconWallet={<WalletOutlined />}
variant="primary"
/>
/> */}
</>
)
}
Expand Down

1 comment on commit cb38e2a

@github-actions
Copy link

Choose a reason for hiding this comment

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

Preview ready at https://main.djed.codepreview.io

Powered by https://codepreview.io community edition.

Please sign in to comment.