Use ID instead of only names

This commit is contained in:
Thomas "ajnart" Camlong
2022-05-19 22:29:35 +02:00
committed by ajnart
parent 9b440c0da3
commit 667322d14e
4 changed files with 11 additions and 6 deletions

View File

@@ -22,8 +22,8 @@ const AppShelf = (props: any) => {
return (
<Grid gutter="xl" align="center">
{config.services.map((service) => (
<Grid.Col key={service.name} span={6} xl={2} xs={4} sm={3} md={3}>
<AppShelfItem key={service.name} service={service} />
<Grid.Col key={service.id} span={6} xl={2} xs={4} sm={3} md={3}>
<AppShelfItem key={service.id} service={service} />
</Grid.Col>
))}
</Grid>