Closed Shaarps closed 4 days ago
Someone 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, formatNumberWithCommas
, to format numbers with commas for improved readability in the PortfolioSummary
component. This function is used in the ChartEntry
component to format item values and in the tooltip labels of the chart options. The overall structure and control flow of the components remain unchanged, preserving the existing functionality while enhancing the presentation of numerical data.
File | Change Summary |
---|---|
components/dashboard/PortfolioSummary.tsx | Added formatNumberWithCommas function for number formatting; updated ChartEntry and tooltip labels to use this function. |
❌ Change request
[!WARNING] There were issues while running the following tools:
🔧 eslint
components/dashboard/PortfolioSummary.tsx
Oops! Something went wrong! :( ESLint: 9.14.0 ESLint couldn't find an eslint.config.(js|mjs|cjs) file. From ESLint v9.0.0, the default configuration file is now eslint.config.js. If you are using a .eslintrc.* file, please follow the migration guide to update your configuration file to the new format: https://eslint.org/docs/latest/use/configure/migration-guide If you still have problems after following the migration guide, please stop by https://eslint.org/chat/help to chat with the team.
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?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
starknet-quest | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 11, 2024 10:39am |
Other information
This PR adds a feature to format numbers with commas in the
PortfolioSummary
component. Specifically, it implements a function that formats item values with commas for better readability in the dashboard. This improves the user interface and makes numerical data easier to interpret.Summary by CodeRabbit
New Features
Bug Fixes