fix: useTheme not defined errror (#5981)

This commit is contained in:
Prospector
2026-05-03 11:03:29 -07:00
committed by GitHub
parent 678f8049e3
commit 4c59a5e51d
2 changed files with 3 additions and 0 deletions

View File

@@ -324,6 +324,7 @@ import dayjs from 'dayjs'
import { computed } from 'vue'
import { UiChartsChart as Chart, UiChartsCompactChart as CompactChart } from '#components'
import { useTheme } from '~/composables/nuxt-accessors.ts'
import {
analyticsSetToCSVString,
countryCodeToFlag,

View File

@@ -2,6 +2,8 @@ import { injectI18n, useDebugLogger } from '@modrinth/ui'
import dayjs from 'dayjs'
import { computed, ref, watch } from 'vue'
import { useTheme } from '~/composables/nuxt-accessors.ts'
// note: build step can miss unix import for some reason, so
// we have to import it like this