Skip to content

Commit

Permalink
fix: add key prop to duplicate item main menu (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaYahya authored Jan 24, 2024
1 parent 175f173 commit 43a3c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/main/ItemMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const ItemMenu = ({
/>,
<MenuItem
onClick={handleDuplicate}
key="duplicate"
className={ITEM_MENU_DUPLICATE_BUTTON_CLASS}
>
<ListItemIcon>
Expand Down

0 comments on commit 43a3c87

Please sign in to comment.