From 671823b8d44f1821da2454b670e9d0c6fc4b3cd0 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 23 Jan 2024 17:31:22 +0100 Subject: [PATCH] Fix using wrong dependency --- src/components/main/routes/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/main/routes/Dashboard.tsx b/src/components/main/routes/Dashboard.tsx index b5b6680..b94e7af 100644 --- a/src/components/main/routes/Dashboard.tsx +++ b/src/components/main/routes/Dashboard.tsx @@ -69,7 +69,7 @@ export const Dashboard = function ({ state, updateState }) { }), ); } - }, [state.dataCache, dateTime]); + }, [data, dateTime]); return (