We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9521c38 commit 762c86bCopy full SHA for 762c86b
src/composables/useIsDarkTheme/index.ts
@@ -55,7 +55,7 @@ const useInternalIsDarkTheme = createSharedComposable(() => useIsDarkThemeElemen
55
*/
56
export function useIsDarkTheme(): DeepReadonly<Ref<boolean>> {
57
const isDarkTheme = useInternalIsDarkTheme()
58
- const enforcedTheme = inject<ComputedRef<string>>(KEY_ENFORCE_THEME)
+ const enforcedTheme = inject(KEY_ENFORCE_THEME)
59
60
return computed(() => {
61
if (enforcedTheme?.value) {
0 commit comments