Skip to content

Commit

Permalink
docs: add key prop to teaser list (#4087)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald authored Aug 6, 2024
1 parent fd314e5 commit 5f6f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ui/TeaserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface TeaserListProps {
export const TeaserList = ({ items }: TeaserListProps) => (
<Tiles tilesWidth="300px" space={5} stretch>
{items.map(props => (
<TeaserCard {...props} />
<TeaserCard key={props.href} {...props} />
))}
</Tiles>
);

0 comments on commit 5f6f655

Please sign in to comment.