From 908e4acff833f1e05db1bfd8e3d5f6f42bea9fc0 Mon Sep 17 00:00:00 2001 From: Malena Guallar Date: Tue, 21 May 2024 16:18:49 +0200 Subject: [PATCH] fix: hiding consumption parts (data not available) --- src/app/dashboard/page.tsx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index b1e024411..1b3aa107a 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -156,14 +156,14 @@ const DashboardPage = () => { - + {/* */}
- + {/* */}
@@ -265,12 +265,6 @@ const TopCountriesSection = () => { const SalmonConsumptionSection = () => { - const [data, setData] = useState(false) - - if (!data){ - return <> - } - return ( { }; const SalmonConsumptionBisSection = () => { - const [data, setData] = useState(false) - - if (!data){ - return <> - } - return (