fix: normalize token symbols/logos in incentivize history#863
fix: normalize token symbols/logos in incentivize history#863
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR enhances the IncentivizePoolHistoryBox component by integrating GNOT-to-GNOT path conversion functionality. The changes use the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: deae4f76-88ae-4492-b14e-9093e5b30295
📒 Files selected for processing (1)
packages/web/src/layouts/pool/pool-incentivize/components/incentivize-pool-history/incentivize-pool-history-box/IncentivizePoolHistoryBox.tsx



Descriptions
IncentivizePoolHistoryBoxby normalizing pool token metadata throughgetGnotPath.Changes
useGnotToGnothook usage inIncentivizePoolHistoryBox.currentPoolmemo logic to:tokenAandtokenBsymbol/logo values viagetGnotPath(...)Motivation
Incentive history could show inconsistent token symbols/logos depending on wrapped/native token representation. This change standardizes display output for better UX and data clarity.
Summary by CodeRabbit