Skip to content

Commit

Permalink
fix: Add iterator key
Browse files Browse the repository at this point in the history
  • Loading branch information
N committed Feb 25, 2024
1 parent eaaff29 commit a3c3dc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ const Home: NextPage = ({ categories, images }: {
<h1 className="mt-8 mb-4 text-2xl font-bold font-display tracking-widest">
Kirk's 7th Birthday Superhero Bash Photos
</h1>
<div className="">
<div>
{categories.map((category) => (
<button
key={category}
className={[
"categoryButton",
selectedCategory === category ? 'categoryButton___selected' : '',
Expand Down

0 comments on commit a3c3dc4

Please sign in to comment.