diff --git a/src/Components/Map/ItemForm.tsx b/src/Components/Map/ItemForm.tsx index 30c67de3..af650c45 100644 --- a/src/Components/Map/ItemForm.tsx +++ b/src/Components/Map/ItemForm.tsx @@ -11,7 +11,7 @@ export const ItemForm = ({ children, item, title, setPopupTitle }: { children?: }, [title]) return ( -
{ +
{ children ? React.Children.toArray(children).map((child) => React.isValidElement<{ item: Item, test: string }>(child) ?