diff --git a/src/components/common/DropDown.tsx b/src/components/common/DropDown.tsx index 54889a7..c80088b 100644 --- a/src/components/common/DropDown.tsx +++ b/src/components/common/DropDown.tsx @@ -19,7 +19,7 @@ interface PropsType { function DropDown({ title, items, onClickItem, selected }: PropsType) { const { toggleDropdown, DropDownComponent, closeDropDown } = useDropDown(); - const selectedItemLabel = items.find((item) => item.code === String(selected)); + const selectedItemLabel = items.find((item) => item.code === selected.toString()); return (