fix: font-size ssr

This commit is contained in:
Anthony Fu 2022-12-24 00:19:17 +01:00
parent 597617b7e6
commit b40832a7eb
6 changed files with 34 additions and 19 deletions

View file

@ -66,10 +66,3 @@ export async function setupI18n() {
})
})
}
export async function setupFontSize() {
if (!process.server) {
setFontSizeCSSVar()
watch(fontSize, setFontSizeCSSVar)
}
}