diff --git a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx index 720b76c1..5ff21325 100644 --- a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx +++ b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ /* eslint-disable @typescript-eslint/no-unnecessary-condition */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/restrict-plus-operands */ @@ -177,8 +176,6 @@ export const TextView = ({ } if (href?.startsWith('#')) { - console.log(href.slice(1).toLowerCase()) - console.log(tags) const tag = tags.find( (t) => t.name.toLowerCase() === decodeURI(href).slice(1).toLowerCase(), ) diff --git a/src/Components/Map/hooks/usePopupForm.tsx b/src/Components/Map/hooks/usePopupForm.tsx index ef38d3f6..497c5931 100644 --- a/src/Components/Map/hooks/usePopupForm.tsx +++ b/src/Components/Map/hooks/usePopupForm.tsx @@ -6,7 +6,9 @@ type UsePopupFormManagerResult = ReturnType const PoupFormContext = createContext({ popupForm: {} as PopupFormState | null, - setPopupForm: () => {}, + setPopupForm: () => { + /* empty function */ + }, }) function usePopupFormManager(): {