This commit is contained in:
Mars 2024-08-27 23:00:45 -04:00
parent ee2cfdcf9a
commit 509ce02fd7
Signed by: pupbrained
GPG key ID: 874E22DF2F9DFCB5

View file

@ -22,6 +22,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { fonts, themes } from '#imports' import { fonts, themes } from '#imports'
// These should never be null so it's fine to use `as Ref`
const fontCookie = useCookie('font') as Ref<string> const fontCookie = useCookie('font') as Ref<string>
const themeCookie = useCookie('theme') as Ref<string> const themeCookie = useCookie('theme') as Ref<string>
</script> </script>