From 93707606dfbf217815664c73e1a3bd158f1cb482 Mon Sep 17 00:00:00 2001 From: Brian Cao Date: Mon, 3 Apr 2023 17:26:37 -0700 Subject: [PATCH] Fix chart re-render. --- components/metrics/WebsiteChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/metrics/WebsiteChart.js b/components/metrics/WebsiteChart.js index e94a0490..6d3843c9 100644 --- a/components/metrics/WebsiteChart.js +++ b/components/metrics/WebsiteChart.js @@ -64,7 +64,7 @@ export default function WebsiteChart({ }; } return { pageviews: [], sessions: [] }; - }, [data, startDate, endDate, unit]); + }, [data, modified]); return ( <>