Skip to content

Commit

Permalink
fix: issues via deepscan
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Mar 13, 2023
1 parent 4cab6ba commit 00cbe83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions components/map/CommonMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
VectorSource,
} from 'mapbox-gl';
import type { SetupContext } from 'vue';
import { VMarker, VPopup } from '~/lib/v-mapbox';
import { VMarker } from '~/lib/v-mapbox';
import { defineComponent, readonly, ref } from 'vue';
import { useMap } from '~/composables/useMap';
import Basemaps from './_partials/Basemaps.vue';
Expand All @@ -239,7 +239,6 @@
components: {
Basemaps,
VMarker,
VPopup,
},
setup(_, { emit }: SetupContext) {
const store = useMap();
Expand Down
12 changes: 6 additions & 6 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
import type { EventData } from 'mapbox-gl';
import { computed, defineComponent, onMounted, reactive } from 'vue';
import CommonMap from '~/components/map/CommonMap.vue';
import Clusters from '~/components/map/layers/Clusters.vue';
import Heatmap from '~/components/map/layers/Heatmap.vue';
import Markers from '~/components/map/layers/Markers.vue';
// import Clusters from '~/components/map/layers/Clusters.vue';
// import Heatmap from '~/components/map/layers/Heatmap.vue';
// import Markers from '~/components/map/layers/Markers.vue';
import { useMap } from '~/composables/useMap';
export default defineComponent({
name: 'Dashboard',
components: {
CommonMap,
Markers,
Clusters,
Heatmap,
// Markers,
// Clusters,
// Heatmap,
},
setup() {
const mapStore = useMap();
Expand Down

0 comments on commit 00cbe83

Please sign in to comment.