chore: make sonner ClientOnly for now

This commit is contained in:
Sadegh Barati 2024-02-02 19:05:49 +03:30
parent c15299a0c2
commit a97b40654f

View File

@ -288,7 +288,9 @@ watch(() => $route.path, (n) => {
</DialogContent>
</Dialog>
<DefaultToaster />
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" />
<ClientOnly>
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" />
</ClientOnly>
<NewYorkToaster />
</div>
</template>