From 487c8836292c6b13c9a80eaca9c98fb19430bb2b Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Tue, 22 Apr 2025 01:16:16 +0100 Subject: [PATCH] fixed typing --- src/Components/Map/UtopiaMap.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Map/UtopiaMap.tsx b/src/Components/Map/UtopiaMap.tsx index 62c95fdf..d6832cff 100644 --- a/src/Components/Map/UtopiaMap.tsx +++ b/src/Components/Map/UtopiaMap.tsx @@ -74,9 +74,9 @@ function UtopiaMap({ /** show the layer control widget (default true) */ showGratitudeControl?: boolean /** show a widget to switch the theme */ - showThemeControl: boolean + showThemeControl?: boolean /** the defaut theme */ - defaultTheme: string + defaultTheme?: string /** ask to donate to the Utopia Project OpenCollective campaign (default false) */ donationWidget?: boolean }) {