Skip to content

Commit

Permalink
fix: do not call useDark() in app.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerzl committed Dec 3, 2024
1 parent 39a8617 commit 5210d8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
import { useDark } from '@vueuse/core'
import { ConfigProvider } from 'radix-vue'
import '@unocss/reset/tailwind-compat.css'
Expand All @@ -14,7 +13,7 @@ useHead({
</script>

<template>
<ConfigProvider :use-id="useIdFunction" :class="{ dark: useDark() }">
<ConfigProvider :use-id="useIdFunction">
<NuxtLoadingIndicator />
<VitePwaManifest />
<NuxtLayout>
Expand Down

0 comments on commit 5210d8f

Please sign in to comment.