From 403f3949242cfd0207cb5d0044c80f9680f03d4a Mon Sep 17 00:00:00 2001 From: Norbert Maciaszek Date: Mon, 11 Aug 2025 23:57:17 +0200 Subject: [PATCH] Add key prop to Dropdown items: ensure unique identification for each item in the Dropdown component to prevent rendering issues and improve performance. --- src/components/atoms/Dropdown/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/atoms/Dropdown/index.tsx b/src/components/atoms/Dropdown/index.tsx index e2b3ccf..0bfdfc9 100644 --- a/src/components/atoms/Dropdown/index.tsx +++ b/src/components/atoms/Dropdown/index.tsx @@ -27,6 +27,7 @@ export const Dropdown: FC = ({ items, defaultValue, callback }) => {
{items.map((item) => (

{ setValue(item.value); }}