rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰

Home Page:https://rainbowkit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openConnectModal opening unstyled modal ui

berkaycirak opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.0.7

wagmi Version

2.8.5

Current Behavior

I am trying to making a custom button by using hooks providen via rainbow kit. However, when I use useConnectModal hook, modal ui behavior is different than default ConnectButton behavior. I don't know the reason. Does anyone have that issue before?

  • Below image is useConnectModal hook result
    image

Expected Behavior

I was expecting a behavior like default ConnectButton moda
image

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

commented

@berkaycirak Did you add import '@rainbow-me/rainbowkit/styles.css' to your app ? Also can you share a small reproducible example ?

Huh :) I assume it was already imported in rainbowProvider but I am wrong. Thanks for that, it works now