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:
parent
b5921897d6
commit
5ddad8ebc2
@ -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',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { useNuxtApp } from '#app'
|
||||
import { useNuxtApp } from '#imports'
|
||||
|
||||
async function getBulk(type, ids, apiVersion = 2) {
|
||||
if (ids.length === 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user