widgets icon indicating copy to clipboard operation
widgets copied to clipboard

hideConnectionUI does not hide the "Connect Wallet" button

Open paintoshi opened this issue 2 years ago • 1 comments

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 avatar Sep 18 '23 17:09 paintoshi

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.

N3koSempai avatar Sep 19 '23 07:09 N3koSempai