Uniswap / widgets

widgets-uniswap.vercel.app
GNU General Public License v3.0
123 stars 175 forks source link

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

Open paintoshi opened 10 months ago

paintoshi commented 10 months ago

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

N3koSempai commented 10 months ago

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.