improve memo deps for default area chart

This commit is contained in:
henrygd
2025-07-29 20:53:44 -04:00
parent d77c37c0b0
commit 7282044f80

View File

@@ -87,5 +87,5 @@ export default function AreaChartDefault({
</ChartContainer>
</div>
)
}, [chartData.systemStats.length, yAxisWidth, maxToggled])
}, [chartData.systemStats.at(-1), yAxisWidth, maxToggled])
}