From b25f6ac36bb2fb2b947e40f5664a54c664bbbbc5 Mon Sep 17 00:00:00 2001 From: Sujit Date: Thu, 1 Aug 2024 15:53:48 +0545 Subject: [PATCH] fix: build issue make image as a optional prop type on vector layer compoennt --- .../src/components/common/MapLibreComponents/types/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/common/MapLibreComponents/types/index.ts b/src/frontend/src/components/common/MapLibreComponents/types/index.ts index b3bd9bc2..98c1c729 100644 --- a/src/frontend/src/components/common/MapLibreComponents/types/index.ts +++ b/src/frontend/src/components/common/MapLibreComponents/types/index.ts @@ -46,7 +46,7 @@ export interface IVectorLayer extends ILayer { interactions?: string[]; onFeatureSelect?: (properties: Record) => void; hasImage?: boolean; - image: any; + image?: any; } type InteractionsType = 'hover' | 'select';