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

chore: Use isAddressEqual for comparison #10916

Closed memoyil closed 1 day ago

memoyil commented 3 weeks ago

PR-Codex overview

This PR focuses on improving address comparison throughout the codebase by replacing direct equality checks with the isAddressEqual utility function. This enhances code readability and consistency.

Detailed summary

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

vercel[bot] commented 3 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 26, 2024 7:38am
6 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **aptos-web** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/aptos-web/4GEmFeYe3b8W4d4rA4Dq2sWMJQjT)) | [Visit Preview](https://aptos-web-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am | | **blog** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/blog/BaTaf1bkxBnxdgHGWcvsvfyT3f2i)) | [Visit Preview](https://blog-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am | | **bridge** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/bridge/3Cp5Gwhb65HywVkPaqJ9cynVGLam)) | [Visit Preview](https://bridge-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am | | **games** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/games/FQjkN3crdvy6a6M1WRCUm8UPYeFb)) | [Visit Preview](https://games-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am | | **gamification** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/gamification/9oDvGCywMPx7J8e3sg3NEsHU5q88)) | [Visit Preview](https://gamification-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am | | **uikit** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/uikit/CbaGMGUUM7SUq49nvVJ2127F3qQo)) | [Visit Preview](https://uikit-git-feature-choreuseisaddressequalforcomparison.pancake.run) | | Nov 26, 2024 7:38am |
changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

Latest commit: 52be986ff684164f08e62c182aedfc06ac7f17d6

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