docs: add fallback on colorMode button

This commit is contained in:
Benjamin Canac
2023-05-09 14:26:27 +02:00
parent 4586eed90c
commit 949a476125

View File

@@ -31,7 +31,12 @@
aria-label="Theme"
@click="isDark = !isDark"
/>
<template #fallback>
<div class="w-8 h-8" />
</template>
</ClientOnly>
<UButton
to="https://github.com/nuxtlabs/ui"
target="_blank"