diff --git a/components/ui/modrinth-loading-indicator.ts b/components/ui/modrinth-loading-indicator.ts index ed6c67147..a49e9e8ba 100644 --- a/components/ui/modrinth-loading-indicator.ts +++ b/components/ui/modrinth-loading-indicator.ts @@ -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', diff --git a/helpers/notifications.js b/helpers/notifications.js index e0656d0fd..48ff48457 100644 --- a/helpers/notifications.js +++ b/helpers/notifications.js @@ -1,4 +1,4 @@ -import { useNuxtApp } from '#app' +import { useNuxtApp } from '#imports' async function getBulk(type, ids, apiVersion = 2) { if (ids.length === 0) {