Skip to content

Commit

Permalink
fix(website): fix JSX keys
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Mar 24, 2024
1 parent d82f614 commit e8a5214
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/components/app/-app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function TabulateHosts({ hosts, onHostSelect }: { hosts: LhpData[]; onHos
>
<TableHeader>
<TableColumn key="hostname">Hostname</TableColumn>
<TableColumn key="distro">Cloud</TableColumn>
<TableColumn key="cloud">Cloud</TableColumn>
<TableColumn key="distro">Distribution</TableColumn>
<TableColumn key="arch">Arch</TableColumn>
<TableColumn key="cpu" align="end">
Expand All @@ -122,7 +122,7 @@ export function TabulateHosts({ hosts, onHostSelect }: { hosts: LhpData[]; onHos
<TableColumn key="disk" align="end">
Disk
</TableColumn>
<TableColumn key="disk" align="center">
<TableColumn key="docker" align="center">
Docker
</TableColumn>
<TableColumn key="tags">Tags</TableColumn>
Expand Down Expand Up @@ -172,7 +172,7 @@ export function TabulateHosts({ hosts, onHostSelect }: { hosts: LhpData[]; onHos
</TableCell>
<TableCell className="space-x-1">
{(host.host.tags || []).map((x) => (
<Chip size="sm" color="primary" variant="flat" radius="sm">
<Chip key={x} size="sm" color="primary" variant="flat" radius="sm">
{x}
</Chip>
))}
Expand Down Expand Up @@ -200,7 +200,7 @@ export function HostDetails({ host }: { host: LhpData }) {

<div className="space-x-1">
{(host.host.tags || []).map((x) => (
<Chip size="sm" color="primary" variant="flat" radius="sm">
<Chip key={x} size="sm" color="primary" variant="flat" radius="sm">
{x}
</Chip>
))}
Expand Down

0 comments on commit e8a5214

Please sign in to comment.