From 5a5781f242871aaaf1fd8bef05e13720d0a25dca Mon Sep 17 00:00:00 2001 From: Xavier Stouder Date: Tue, 25 Jul 2023 23:44:38 +0200 Subject: [PATCH] fix: apply table style --- src/components/modal/LogModal.tsx | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/components/modal/LogModal.tsx b/src/components/modal/LogModal.tsx index ca39ccc..841c2d9 100644 --- a/src/components/modal/LogModal.tsx +++ b/src/components/modal/LogModal.tsx @@ -88,27 +88,17 @@ function LogModal() { /> {reversedLogs.map((log) => { - const cellStyle: CSSProperties = { + const rowStyle: CSSProperties = { backgroundColor: getRowColor(log.level), }; return ( - - + + - - + + ); })}