Skip to content

Commit

Permalink
fix: hydration component radix-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dian Pratama committed Jun 17, 2024
1 parent 5c7ccf0 commit 972dac7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
<template>
<NuxtLoadingIndicator :color="false" class="z-100 bg-primary" />
<NuxtPage />
<Toaster />
<ConfigProvider :use-id="useIdFunction">
<NuxtLoadingIndicator :color="false" class="z-100 bg-primary" />
<NuxtPage />
<Toaster />
</ConfigProvider>
</template>

<script setup lang="ts">
import { ConfigProvider } from 'radix-vue';
import Toaster from '@/components/ui/toast/Toaster.vue';
const config = useConfig();
const useIdFunction = () => useId();
useSeoMeta({
description: config.value.site.description,
ogDescription: config.value.site.description,
Expand Down

0 comments on commit 972dac7

Please sign in to comment.