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

[Bug]: Out of date libraries in the Celo Composer for the basic template #333

Open
TheAlexYao opened this issue Feb 13, 2025 · 1 comment

Comments

@TheAlexYao
Copy link

Which Framework?

React (with Tailwind)

What happened?

Issue: Out of date libraries (RainbowKit, Wagmi)
Report:
"Looking at your Header.tsx, there are a few potential issues with the libraries:
RainbowKit + Wagmi version mismatch:
You're mixing old Wagmi patterns (useConnect, injected) with what appears to be a newer RainbowKit setup
The injected import from 'wagmi/connectors' is deprecated
MiniPay Integration Issue:
The current code tries to auto-connect to MetaMask when detecting MiniPay, but uses outdated connector syntax"

Steps to reproduce

  1. npx Celo-Composer
  2. Select hardhat yes, template no
  3. Try to setup the frontend code with npm
  4. Get errors and the project doesn't run bc libraries are out of date

Anything else?

No response

@viral-sangani
Copy link
Contributor

Hey @TheAlexYao Thanks for reporting, we are fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants