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.55k forks source link

fix: Use next link in cake benefit cards to avoid full refresh #10913

Closed memoyil closed 2 weeks ago

memoyil commented 2 weeks ago

PR-Codex overview

This PR focuses on updating the BenefitCard component in the CakeStaking view by replacing the Link component with NextLinkFromReactRouter for navigation, enhancing routing capabilities.

Detailed summary

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

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: 59d5902926543a0d610f615328b082ed53ce58e7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 2 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 Nov 5, 2024 6:42pm
6 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **aptos-web** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/aptos-web/BxEoBEQ5ZUL1NG6wEjHjtwWAmpmA)) | [Visit Preview](https://aptos-web-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm | | **blog** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/blog/4hrrgx8j4LrthZDa7Q2hdqCEDytW)) | [Visit Preview](https://blog-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm | | **bridge** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/bridge/9TZFKWaE22R5j9S1oQEVrfq9TZtd)) | [Visit Preview](https://bridge-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm | | **games** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/games/4xGMHXULFomSGj8VZ4mK8kZNZ9MV)) | [Visit Preview](https://games-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm | | **gamification** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/gamification/28CZtqJFyvU8rnUixzhDD3gikiw7)) | [Visit Preview](https://gamification-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm | | **uikit** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/uikit/GYh9TKYRTw29qJdJoVX5Hh3ojkLS)) | [Visit Preview](https://uikit-git-feature-fixcakestakingbenefitscardnextlink.pancake.run) | | Nov 5, 2024 6:42pm |