From 6f673bdd489682c33d5f4de50a50e3ee46bf7b50 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 7 Nov 2023 12:34:29 +0100 Subject: [PATCH] Paint map when zones source not fully loaded (#6109) --- web/src/features/map/Map.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/src/features/map/Map.tsx b/web/src/features/map/Map.tsx index b81635e9d8..5abd45bd35 100644 --- a/web/src/features/map/Map.tsx +++ b/web/src/features/map/Map.tsx @@ -114,7 +114,6 @@ export default function MapPage(): ReactElement { // An issue where the map has not loaded source yet causing map errors const isSourceLoaded = map.getSource('zones-clickable') !== undefined && - map.isSourceLoaded('zones-clickable') && map.getSource('states') !== undefined && map.isSourceLoaded('states');