Skip to content

Commit

Permalink
fix: correct eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Jan 11, 2024
1 parent ea3545c commit 892f60a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Home/HomeMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
},
},
Expand Down
2 changes: 1 addition & 1 deletion components/MainMap/MapFeatures.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down
2 changes: 1 addition & 1 deletion plugins/pinia-shared-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 892f60a

Please sign in to comment.