diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts index 69a18c9..9e14ffe 100644 --- a/quartz/i18n/index.ts +++ b/quartz/i18n/index.ts @@ -13,5 +13,5 @@ export const TRANSLATIONS = { "nl-NL": nl, } as const -export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale] +export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale ?? "en-US"] export type ValidLocale = keyof typeof TRANSLATIONS