Manually call openConnectModal outside of <ConnectButton.Custom>? #432
Answered
by
markdalgleish
Sam-Scolari
asked this question in
Q&A
-
I have a feature where people can upvote something but they need to be connected before they can use that feature. Is there a way I can call openConnectModal within the onClick function of my upvote button if they aren't connected? |
Beta Was this translation helpful? Give feedback.
Answered by
markdalgleish
Jul 20, 2022
Replies: 1 comment
-
This is out now in RainbowKit v0.4.3. You can check out the docs here: https://www.rainbowkit.com/docs/modal-hooks |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
markdalgleish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is out now in RainbowKit v0.4.3.
You can check out the docs here: https://www.rainbowkit.com/docs/modal-hooks