From 40ad8ee15ef80cd2244955b481801baa796ae20e Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 3 Jul 2024 18:33:22 +0200 Subject: [PATCH] small ui improvements (#15) --- frontend/app/components/ToggleSwitch.tsx | 10 +++++----- frontend/app/page.tsx | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/app/components/ToggleSwitch.tsx b/frontend/app/components/ToggleSwitch.tsx index 3bec932..702cf78 100644 --- a/frontend/app/components/ToggleSwitch.tsx +++ b/frontend/app/components/ToggleSwitch.tsx @@ -14,22 +14,22 @@ const ToggleSwitch: React.FC = ({ onToggle, }) => { return ( -
+
{results.length > 0 && ( -
+
0 && view === "Plot" && ( -
+
)} {results.length > 0 && view === "Table" && ( -
+