come nt
This commit is contained in:
parent
ee2cfdcf9a
commit
509ce02fd7
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue