fix missing key issue in badge section

This commit is contained in:
Matthias Mair 2024-04-16 07:37:24 +02:00
parent 7f72842d73
commit ec2ecbe8f6
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,10 @@ export function PageDetail({
<Space />
{detail}
<Group justify="right" gap="xs" wrap="nowrap">
{badges}
{badges &&
badges.map((badge, idx) => (
<Fragment key={idx}>{badge}</Fragment>
))}
</Group>
<Space />
{actions && (