fix: loss of isNuxt

This commit is contained in:
Calum H. (IMB11)
2026-06-26 17:09:22 +01:00
parent db225b757d
commit 8381482cbb
@@ -306,7 +306,7 @@
<script setup lang="ts">
import type { Archon, Labrinth } from '@modrinth/api-client'
import { getNodeWebSocketUrl, ModrinthApiError } from '@modrinth/api-client'
import { getNodeWebSocketUrl, ModrinthApiError, NuxtModrinthClient } from '@modrinth/api-client'
import {
CheckIcon,
CopyIcon,
@@ -685,6 +685,7 @@ const DISABLE_LOADING_ANIM = true
const { addNotification } = injectNotificationManager()
const client = injectModrinthClient()
const isNuxt = computed(() => client instanceof NuxtModrinthClient)
const constrainWidth = computed(() => props.constrainWidth)
const queryClient = useQueryClient()
const route = useRoute()