From 01828d4f39d28f64b2fca944f24a9f8dd5f12d87 Mon Sep 17 00:00:00 2001 From: Bronson Chapman Date: Tue, 21 Nov 2023 12:33:02 -0700 Subject: [PATCH] constant change --- src/components/WidgetStats/WidgetStatsData.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/WidgetStats/WidgetStatsData.js b/src/components/WidgetStats/WidgetStatsData.js index d3bdf815..ee8ae29b 100644 --- a/src/components/WidgetStats/WidgetStatsData.js +++ b/src/components/WidgetStats/WidgetStatsData.js @@ -2,9 +2,8 @@ import { useStats } from '../../common/dataHooks/useStats' function WidgetStatsData() { - const stats = useStats() return { - data: stats.data, + data: useStats().data, } }