pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.7k stars 3.56k forks source link

fix: missing chain query #10891

Closed chef-eric closed 4 weeks ago

chef-eric commented 4 weeks ago

PR-Codex overview

This PR modifies the addQueryToPath.ts utility function to handle query parameters more effectively by ensuring that when the key is 'chain', the chainId is deleted from searchParams.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 5:46am
6 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **aptos-web** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/aptos-web/8ELpdZGfCuzYoy6i97bPaCGZ5DNP)) | | | Oct 30, 2024 5:46am | | **blog** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/blog/5Siz2QhUZwbRbkvGtmC7Mx5tKFnE)) | | | Oct 30, 2024 5:46am | | **bridge** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/bridge/2wbUYvtaJ7BUo3YaCgbtNvHBtgDp)) | | | Oct 30, 2024 5:46am | | **games** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/games/Gbt3n5kqRxexQtKD5sf5G4tLv2KE)) | [Visit Preview](https://games-git-fix-universal-chain-id.pancake.run) | | Oct 30, 2024 5:46am | | **gamification** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/gamification/9zjwM3Uizqs1ASPeyEHg3smEwL8o)) | | | Oct 30, 2024 5:46am | | **uikit** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/uikit/6FHiJqPzerpPJJnnjkB4Pqc7E6FG)) | | | Oct 30, 2024 5:46am |