fix: remove flashing text on page reload (#1939)

This commit is contained in:
Joaquín Sánchez 2023-04-16 21:33:51 +02:00 committed by GitHub
parent 13581323b0
commit c71259334c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 88 additions and 61 deletions

View file

@ -12,7 +12,7 @@ export function setupPageHeader() {
return acc
}, {} as Record<string, Directions>)
useHead({
useHydratedHead({
htmlAttrs: {
lang: () => locale.value,
dir: () => localeMap[locale.value] ?? 'ltr',