Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Silence warning about list item keys #172

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Intermediary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Avatar,
Card,
Divider,
ListItem,
Stack,
Tooltip,
Typography,
Expand Down Expand Up @@ -124,11 +125,11 @@ export const Network: React.FunctionComponent<{
>
<h4>{props.name}</h4>
{props.clients.map((client, i) => (
<>
<ListItem key={client.ownerAddress}>
{/* render dividers between channels if more than one exists */}
{i > 0 && <Divider />}
<IntermediaryChannel key={client.ownerAddress} client={client} />
</>
</ListItem>
))}
</Stack>
</>
Expand Down