Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-window": "^2.2.6",
"recharts": "^2.12.2",
"recharts": "^3.7.0",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Major version bump (v2 → v3) introduces Cell deprecation. The codebase uses Cell in components/ui/charts.tsx for PieChartComponent, which will produce deprecation warnings. Per the recharts v3.7.0 release notes, Cell will be removed in the next major version. Consider migrating to the shape prop on Pie as part of this upgrade.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 45:

<comment>Major version bump (v2 → v3) introduces `Cell` deprecation. The codebase uses `Cell` in `components/ui/charts.tsx` for `PieChartComponent`, which will produce deprecation warnings. Per the recharts v3.7.0 release notes, `Cell` will be removed in the next major version. Consider migrating to the `shape` prop on `Pie` as part of this upgrade.</comment>

<file context>
@@ -42,7 +42,7 @@
     "react-dom": "^18.2.0",
     "react-window": "^2.2.6",
-    "recharts": "^2.12.2",
+    "recharts": "^3.7.0",
     "redis": "^5.10.0",
     "swr": "^2.2.5",
</file context>
Fix with Cubic

"redis": "^5.10.0",
"swr": "^2.2.5",
"tailwind-merge": "^2.2.1",
Expand Down
Loading