From 6c0002a43990a2d41a0637e42a211e7035df2d54 Mon Sep 17 00:00:00 2001 From: Laura Henning Date: Mon, 6 May 2024 08:59:32 +0000 Subject: [PATCH] fix: rendering errors (missing key and h3 child of TableHeader) --- frontend/src/pages/Charging/ChargingList.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/Charging/ChargingList.tsx b/frontend/src/pages/Charging/ChargingList.tsx index fecb0d03..b7820060 100644 --- a/frontend/src/pages/Charging/ChargingList.tsx +++ b/frontend/src/pages/Charging/ChargingList.tsx @@ -79,7 +79,11 @@ const ChargingList: React.FC<{ return ( -

{props.chargingMethod} Charging

+ + +

{props.chargingMethod} Charging

+
+
{tableColumnNames.map((colName, idx) => { return {colName}; @@ -91,8 +95,8 @@ const ChargingList: React.FC<{ .filter((a) => a!.filter === "" && a!.dnn === "") .map((cd, idx) => { return ( - <> - + + {cd.ueId} {cd.snssai} {cd.dnn} @@ -105,7 +109,7 @@ const ChargingList: React.FC<{ /> {} - + ); })}