From 527a71e20106258f997665e075a30a4f7c3d1394 Mon Sep 17 00:00:00 2001 From: KavetiRohith Date: Mon, 11 Sep 2023 23:55:32 -0700 Subject: [PATCH] Add key for each MenuItem in SortSelector --- src/components/SortSelector.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/SortSelector.tsx b/src/components/SortSelector.tsx index e381529..71b070a 100644 --- a/src/components/SortSelector.tsx +++ b/src/components/SortSelector.tsx @@ -27,7 +27,10 @@ const SortSelector = ({ sortOrder, onSelectSortOrder }: SortSelectorProps) => { {sortOrders.map((sortOrder) => ( - onSelectSortOrder(sortOrder.value)}> + onSelectSortOrder(sortOrder.value)} + > {sortOrder.label} ))}