Skip to content

Commit

Permalink
fix: unique key warning in MenuItemList
Browse files Browse the repository at this point in the history
  • Loading branch information
gijoe0295 committed Sep 18, 2024
1 parent cf48092 commit f2f205b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MenuItemList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function MenuItemList({
<>
{menuItems.map((menuItemProps) => (
<OfflineWithFeedback
key={menuItemProps.key ?? menuItemProps.title}
pendingAction={menuItemProps.pendingAction}
onClose={menuItemProps.onPendingActionDismiss}
errors={menuItemProps.error}
Expand Down

0 comments on commit f2f205b

Please sign in to comment.