(items: MenuItem[])
| 28 | }; |
| 29 | |
| 30 | const transformCategories = (items: MenuItem[]): MenuItem[] => { |
| 31 | return items.map((item) => ({ |
| 32 | ...item, |
| 33 | label: categoriesMap[String(item.label)] ?? item.label, |
| 34 | })); |
| 35 | }; |
| 36 | |
| 37 | const LanguagesDropdown = ({ state$ }: LanguagesDropdownProps) => { |
| 38 | const { items, refine, searchForItems } = useRefinementList({ |
nothing calls this directly
no outgoing calls
no test coverage detected