Skip to content

Commit

Permalink
fix: list add a key
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanyu0201 committed Jan 17, 2023
1 parent 1618cb1 commit 52cb3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/DropDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function DropDown({ vibe, setVibe }: DropDownProps) {
>
<div className="">
{vibes.map((vibeItem) => (
<Menu.Item>
<Menu.Item key={vibeItem}>
{({ active }) => (
<button
onClick={() => setVibe(vibeItem)}
Expand Down

0 comments on commit 52cb3be

Please sign in to comment.