From bd0e3a94c274475cc6d1b784ec518f5a1c66479a Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 1 Sep 2023 01:11:52 +0200 Subject: [PATCH] removed logs --- src/Components/Map/Subcomponents/ItemFormPopup.tsx | 1 - .../Map/Subcomponents/ItemPopupComponents/TextView.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Components/Map/Subcomponents/ItemFormPopup.tsx b/src/Components/Map/Subcomponents/ItemFormPopup.tsx index 6a119a22..1a47c8ab 100644 --- a/src/Components/Map/Subcomponents/ItemFormPopup.tsx +++ b/src/Components/Map/Subcomponents/ItemFormPopup.tsx @@ -50,7 +50,6 @@ export function ItemFormPopup(props: ItemFormPopupProps) { formItem.text.toLocaleLowerCase().match(hashTagRegex)?.map(tag=> { if (!tags.find((t) => t.id === tag.slice(1))) { - console.log(tag); addTag({id: tag.slice(1), color: randomColor()}) } }); diff --git a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx index d025fda2..4cb3594d 100644 --- a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx +++ b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx @@ -29,7 +29,6 @@ export const TextView = ({ item }: { item?: Item }) => { if (!init.current) { item?.text.toLocaleLowerCase().match(hashTagRegex)?.map(tag=> { if (!tags.find((t) => t.id === tag.slice(1))) { - console.log(tag); addTag({id: tag.slice(1), color: randomColor()}) } });