fix: make sonner wrapper client-only in docs MainLayout.vue
This commit is contained in:
parent
9ad7fcfd6d
commit
d4a283d470
|
|
@ -288,7 +288,9 @@ watch(() => $route.path, (n) => {
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
<DefaultToaster />
|
<DefaultToaster />
|
||||||
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" />
|
<ClientOnly>
|
||||||
|
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" />
|
||||||
|
</ClientOnly>
|
||||||
<NewYorkToaster />
|
<NewYorkToaster />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user