Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hideConnectionUI does not hide the "Connect Wallet" button #621

Open
paintoshi opened this issue Sep 18, 2023 · 1 comment
Open

hideConnectionUI does not hide the "Connect Wallet" button #621

paintoshi opened this issue Sep 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@paintoshi
Copy link

Bug Description
According to the docs:

hideConnectionUI: Hide the widget's built-in wallet connection UI, including the connected account chip & 'Connect wallet to swap' button.

Steps to Reproduce
Provider in this case is a Web3Provider from wagmi, which should handle the wallet interaction.

<SwapWidget
  provider={provider}
  hideConnectionUI
/>

Expected Behavior
There should be no connection button. I still have it when my wallet is not connected.

image

@paintoshi paintoshi added the bug Something isn't working label Sep 18, 2023
@N3koSempai
Copy link

yes. i have the same problem. but i think the problem is because the hideConnectionUi prop is not to hide the button. it is to hide the address that is shown on top of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants