diff --git a/app/src/pages/MapContainer.tsx b/app/src/pages/MapContainer.tsx index f0b0cd9f..d7e457e7 100644 --- a/app/src/pages/MapContainer.tsx +++ b/app/src/pages/MapContainer.tsx @@ -12,7 +12,7 @@ import { PopupView, PopupButton, StartEndView, - TextView, + TextViewStatic, PopupForm, PopupStartEndInput, PopupTextAreaInput, @@ -129,7 +129,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) { target={layer.itemType.custom_profile_url ? '_blank' : '_self'} /> )} - {layer.itemType.show_text && } + {layer.itemType.show_text && } {layer.itemType.show_header_view_in_form && } diff --git a/lib/src/Components/Item/index.tsx b/lib/src/Components/Item/index.tsx index 31116685..53c32a3c 100644 --- a/lib/src/Components/Item/index.tsx +++ b/lib/src/Components/Item/index.tsx @@ -1,5 +1,6 @@ import { TextView as PlainTextView, + TextViewStatic as PlainTextViewStatic, StartEndView as PlainStartEndView, PopupTextInput as PlainPopupTextInput, PopupButton as PlainPopupButton, @@ -15,6 +16,7 @@ export { PopupForm } from './PopupForm' export { PopupView } from './PopupView' export const TextView = templateify(PlainTextView) +export const TextViewStatic = templateify(PlainTextViewStatic) export const StartEndView = templateify(PlainStartEndView) export const PopupTextInput = templateify(PlainPopupTextInput) export const PopupButton = templateify(PlainPopupButton) diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/index.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/index.tsx index 8c0e92d0..9a8caa12 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/index.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/index.tsx @@ -3,6 +3,7 @@ export { PopupStartEndInput } from './PopupStartEndInput' export { PopupTextInput } from './PopupTextInput' export { PopupCheckboxInput } from './PopupCheckboxInput' export { TextView } from './TextView' +export { TextViewStatic } from './TextViewStatic' export { StartEndView } from './StartEndView' export { PopupButton } from './PopupButton' export { HeaderView } from './HeaderView'