From 8f624b90fae3eb3a0f5324a2381ef7bdba6e13c7 Mon Sep 17 00:00:00 2001 From: Maximilian Harz Date: Mon, 17 Feb 2025 17:56:27 +0100 Subject: [PATCH] Make item optional --- .../Map/Subcomponents/ItemPopupComponents/TextView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx index 36e03060..36f73318 100644 --- a/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx +++ b/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx @@ -25,7 +25,7 @@ export const TextView = ({ truncate = false, rawText, }: { - item: Item + item?: Item itemId: string text?: string truncate?: boolean