From 7eb52a616d900bbb36cd15ce3ce3f4468d3c35ed Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Tue, 30 Jan 2024 20:53:53 +0100 Subject: [PATCH] fix some firefox mobile issue --- src/Components/Map/ItemForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ?