-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: Update router query always when on wallet connect #11174
fix: Update router query always when on wallet connect #11174
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
|
4380ded
to
d088479
Compare
PR-Codex overview
This PR primarily enhances the handling of browser history and wallet connection synchronization in the application. It introduces a new hook for syncing wallet connections and modifies existing components to improve state management and event handling.
Detailed summary
useWalletConnectRouterSync
hook to synchronize wallet connection with the router.replaceBrowserHistory
andreplaceBrowserHistoryMultiple
to dispatch apopstate#pcs
event.useWalletConnectRouterSync
in theGlobalHooks
component.currencyBalances
inSwapCommitButton.tsx
to useuseMemo
for optimization.