Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Chain param in query after switching network to bsc (#10715)
![image](https://github.com/user-attachments/assets/ad9addc7-6776-4808-ad2e-943adc4bf833) <!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `useSwitchNetwork` hook and `WrongNetworkModal` component to remove conditional setting of the `chain` query parameter based on `chainId`. ### Detailed summary - Removed conditional setting of `chain` query parameter based on `chainId` in `useSwitchNetwork` hook. - Removed conditional setting of `chain` query parameter based on `chainId` in `WrongNetworkModal` component. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information