Skip to content

Commit

Permalink
Remove debug console log and add logging for countries data fetch in …
Browse files Browse the repository at this point in the history
…index.vue
  • Loading branch information
RobertBroersma committed Dec 20, 2024
1 parent 63b2e39 commit 69e54d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ let collectionLinks = [
let collections = await useCollections({ collectionLinks })
console.log(collections.value, collectionLinks)
let polygons = ref([])
let selectedCollections = ref<string[]>([])
Expand Down Expand Up @@ -102,6 +100,8 @@ let { data: countries } = await useFetch(
url.protocol + '//' + url.host + '/countries.json',
)
console.log(countries, url.protocol + '//' + url.host + '/countries.json')
// Find countries that intersect with drawn polygons
let intersectingCountries = computed(() => {
if (!polygons.value?.length) return []
Expand Down

0 comments on commit 69e54d1

Please sign in to comment.