From 8f3bbbc9b7e6249b89a72bd7a6fa9462494cb0ba Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:05:12 -0500 Subject: [PATCH] memoize --- web/src/views/live/LiveDashboardView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx index ed178f152..fd53a9113 100644 --- a/web/src/views/live/LiveDashboardView.tsx +++ b/web/src/views/live/LiveDashboardView.tsx @@ -79,7 +79,7 @@ export default function LiveDashboardView({ }; }, [visibilityListener]); - const birdseyeConfig = config?.birdseye; + const birdseyeConfig = useMemo(() => config?.birdseye, [config]); return (