diff --git a/components/Home/HomeMixin.ts b/components/Home/HomeMixin.ts index f7210a7da..b2ab9b0f2 100644 --- a/components/Home/HomeMixin.ts +++ b/components/Home/HomeMixin.ts @@ -98,7 +98,7 @@ export default defineNuxtComponent({ goToSelectedFeature() { if (this.$refs.mapFeatures) { - ;(this.$refs.mapFeatures as typeof MapFeatures).goToSelectedFeature() + (this.$refs.mapFeatures as typeof MapFeatures).goToSelectedFeature() } }, }, diff --git a/components/MainMap/MapFeatures.vue b/components/MainMap/MapFeatures.vue index dcbf040b3..ed60b4231 100644 --- a/components/MainMap/MapFeatures.vue +++ b/components/MainMap/MapFeatures.vue @@ -184,7 +184,7 @@ export default defineNuxtComponent({ // Change visible data const source = this.map.getSource(POI_SOURCE) if (source?.type == 'geojson' && 'setData' in source) { - ; (source as GeoJSONSource).setData({ + (source as GeoJSONSource).setData({ type: 'FeatureCollection', features: this.features, }) diff --git a/plugins/pinia-shared-state.ts b/plugins/pinia-shared-state.ts index f0778fb3d..8284a4146 100644 --- a/plugins/pinia-shared-state.ts +++ b/plugins/pinia-shared-state.ts @@ -6,7 +6,7 @@ import { defineNuxtPlugin } from '#app/nuxt' // @ts-ignore const piniaSharedState: Plugin = defineNuxtPlugin(({ $pinia }) => { - ;($pinia as Pinia).use( + ($pinia as Pinia).use( PiniaSharedState({ enable: false, })