From f6fbc79f89e8c59543d041482a63069c69b60f45 Mon Sep 17 00:00:00 2001 From: Maximilian Harz Date: Mon, 14 Apr 2025 19:16:02 +0200 Subject: [PATCH] Fix linting --- .../Map/Subcomponents/ItemPopupComponents/TextView.tsx | 3 --- src/Components/Map/hooks/usePopupForm.tsx | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) 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(): {