fix: import nuxt composables from #imports (#1438)

* fix: import nuxt composables from #imports

* fix: combine import 🙈

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Daniel Roe 2024-01-27 18:02:41 +00:00 committed by GitHub
parent b5921897d6
commit 5ddad8ebc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import { computed, defineComponent, h, onBeforeUnmount, ref, watch } from 'vue'
import { useNuxtApp } from '#app'
import { startLoading, stopLoading } from '#imports'
import { startLoading, stopLoading, useNuxtApp } from '#imports'
export default defineComponent({
name: 'ModrinthLoadingIndicator',

View File

@ -1,4 +1,4 @@
import { useNuxtApp } from '#app'
import { useNuxtApp } from '#imports'
async function getBulk(type, ids, apiVersion = 2) {
if (ids.length === 0) {