Skip to content

Commit

Permalink
Add key prop to badges
Browse files Browse the repository at this point in the history
  • Loading branch information
gramliu committed Dec 3, 2023
1 parent f753f74 commit d33d7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function IndexPage() {
<div className="flex flex-row gap-2">
<Badge variant="secondary">{framework}</Badge>
{options.map((option) => (
<Badge variant="outline">{option}</Badge>
<Badge variant="outline" key={`option_${option}`}>{option}</Badge>
))}
</div>
</div>
Expand Down

0 comments on commit d33d7a9

Please sign in to comment.