Closed GradleD closed 1 week ago
@GradleD is attempting to deploy a commit to the LFG Labs Team on Vercel.
A member of the Team first needs to authorize it.
The changes introduce a new utility function, formatCurrency
, in the PortfolioSummary
component to standardize the formatting of currency values. This function is applied to format item values in the ChartEntry
component and update the tooltip callback for displaying item values. The modifications ensure consistent currency formatting with commas and dollar signs, while the overall structure of the PortfolioSummary
component remains unchanged.
File Path | Change Summary |
---|---|
components/dashboard/PortfolioSummary.tsx | Added formatCurrency utility function for formatting currency values; updated chart tooltip callback to use this function instead of direct concatenation. |
PortfolioSummary
component, which is likely to interact with the data fetched for the donut chart, particularly in how asset values are displayed and formatted.❌ Change request
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Resolves: Rendering big numbers in a better way
Summary by CodeRabbit
New Features
Bug Fixes