From bded67c31b32b0879f2539a7cdf0c6ad53e963b3 Mon Sep 17 00:00:00 2001 From: George Knee Date: Fri, 20 Oct 2023 11:49:24 +0100 Subject: [PATCH] Silence warning about list item keys --- src/Intermediary.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Intermediary.tsx b/src/Intermediary.tsx index 5ddbefb..6c27afc 100644 --- a/src/Intermediary.tsx +++ b/src/Intermediary.tsx @@ -9,6 +9,7 @@ import { Avatar, Card, Divider, + ListItem, Stack, Tooltip, Typography, @@ -124,11 +125,11 @@ export const Network: React.FunctionComponent<{ >

{props.name}

{props.clients.map((client, i) => ( - <> + {/* render dividers between channels if more than one exists */} {i > 0 && } - + ))}