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> </DialogContent>
</Dialog> </Dialog>
<DefaultToaster /> <DefaultToaster />
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" /> <ClientOnly>
<NewYorkSonner :theme="isDark ? 'dark' : 'light'" />
</ClientOnly>
<NewYorkToaster /> <NewYorkToaster />
</div> </div>
</template> </template>