From b3630444795eb1ad81486ad5483b5989a5612056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Sobu=C5=9B?= Date: Sun, 8 Oct 2023 13:52:04 +0200 Subject: [PATCH] feat: image optimization --- index.html | 68 +++++++++++++++++++ .../details-tabs/data-tab/DataTab.tsx | 9 ++- 2 files changed, 74 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 6255de1..3bce857 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,74 @@ + + + + + + + + + + + + + Water Path diff --git a/src/components/drawer-with-details/details-tabs/data-tab/DataTab.tsx b/src/components/drawer-with-details/details-tabs/data-tab/DataTab.tsx index 2cc5ff4..6cc6650 100644 --- a/src/components/drawer-with-details/details-tabs/data-tab/DataTab.tsx +++ b/src/components/drawer-with-details/details-tabs/data-tab/DataTab.tsx @@ -95,9 +95,12 @@ const DataTab = ({ level }: DataTabProps) => { {summaryLoaded ? ( - - {summary} - + <> + + {summary} + +
+ ) : (
{Array.from(Array(12)).map((_, i) => (