Fix: Preserve chart state during zoom, pan, and date changes

- Added React.useMemo to memoize chartData and chartOptions to prevent unnecessary re-renders.
- Ensured chart zoom and pan states are maintained during interactions.
- Improved performance and user experience by avoiding chart
This commit is contained in:
ISA
2025-07-22 10:58:01 +02:00
parent b7ca20f7c3
commit 2d166a204b
7 changed files with 37 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.628",
"version": "1.6.629",
"private": true,
"scripts": {
"dev": "next dev",