From 3b49dcacd809a8f80c333eccf3232906b6fb4ebd Mon Sep 17 00:00:00 2001 From: Fionn Date: Thu, 4 May 2023 20:51:33 +0200 Subject: [PATCH] improve modal table --- frontend/src/App.tsx | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 807e4b8..c6ac1c4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -63,17 +63,32 @@ function App() { # + Region + Fixes + - {regions.length ? regions.map((region, idx) => - {idx + 1} - {region.identifier} - {region.fixes.length} Fixes - - ) : <> - - no regions defined - - } + {regions.length ? regions.map((region, idx) => <> + + {idx + 1} + {region.identifier} + {region.fixes.length} Fixes + + + + + ) : (<> + + - no regions defined - + + )}