pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

fix(Info): Fix token image

Open Woody810 opened this issue 1 year ago • 4 comments


PR-Codex overview

This PR updates the CurrencyLogo component to dynamically fetch token logos using new methods.

Detailed summary

  • Imported useHttpLocations, Currency, and Token
  • Removed multiChainId import
  • Updated logo retrieval logic
  • Utilized useMemo for logo sources
  • Updated StyledLogo component props
  • Removed unused imports and variables

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

Before: image

After: image

Woody810 avatar Feb 09 '24 06:02 Woody810

⚠️ No Changeset found

Latest commit: d17bb7ea0620c2b913ff97faf45731fcf1a72c79

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

changeset-bot[bot] avatar Feb 09 '24 06:02 changeset-bot[bot]

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 Mar 5, 2024 6:03am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 6:03am
blog ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 6:03am
bridge ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 6:03am
games ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 6:03am
uikit ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 6:03am

vercel[bot] avatar Feb 09 '24 06:02 vercel[bot]

@Woody810 is attempting to deploy a commit to the PancakeSwap Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 09 '24 06:02 vercel[bot]

Pls check it again Screenshot 2024-03-05 at 2 56 05 PM

ChefMomota avatar Mar 05 '24 06:03 ChefMomota