-
Notifications
You must be signed in to change notification settings - Fork 100
chore(examples): update rainbowkit and dynamic examples #360
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please upgrade Dynamic as part of this PR to v4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts 🙏
examples/dynamic/package.json
Outdated
@@ -25,7 +25,8 @@ | |||
"react": "^19.0.0", | |||
"react-dom": "^19.0.0", | |||
"viem": "^2.23.10", | |||
"wagmi": "^2.14.13" | |||
"wagmi": "^2.14.13", | |||
"vite-plugin-env-compatible": "^2.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this? Other examples seems to work fine without it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return wallet.connector as SolanaWalletConnector | ||
} | ||
} | ||
|
||
export const SolanaDynamicHandler: FC = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rename SolanaDynamicHandler
to DynamicSolanaProvider
|
||
handleConnectedSolanaWallet() | ||
}, [solanaWallet, select, wallets]) | ||
|
||
return null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should return children here
Which Jira task is linked to this PR?
LF-8689
Why was it implemented this way?
Visual showcase (Screenshots or Videos)
-N/A-
Checklist before requesting a review