From 1a967e38c37182b6e78c7a612b2964a327d48420 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Wed, 16 Feb 2022 03:03:14 +0530 Subject: [PATCH] fix: unused variables --- src/map/VMap.vue | 3 --- types/symbols.ts | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/map/VMap.vue b/src/map/VMap.vue index 8dba2433..52c48cdf 100644 --- a/src/map/VMap.vue +++ b/src/map/VMap.vue @@ -20,9 +20,6 @@ let loaded: Ref = ref(false); let events: Ref> = ref(mapEvents); - let styleChanged: Ref = ref(false); - let tilesLoaded: Ref = ref(false); - onMounted(() => { map.value = new Map(props.options); loaded.value = true; diff --git a/types/symbols.ts b/types/symbols.ts index 8f64e455..b26ef8c9 100644 --- a/types/symbols.ts +++ b/types/symbols.ts @@ -2,8 +2,5 @@ import type { Map } from 'mapbox-gl'; import type { InjectionKey, Ref } from 'vue'; const MapKey: InjectionKey> = Symbol('Map'); -const MapLoadedKey: InjectionKey> = Symbol('MapLoaded'); -const MapStylesLoadedKey: InjectionKey> = Symbol('MapStyleLoaded'); -const MapTilesLoadedKey: InjectionKey> = Symbol('MapTilesLoaded'); -export { MapKey, MapLoadedKey, MapStylesLoadedKey, MapTilesLoadedKey }; +export { MapKey };