Jacky Zhao
2024-02-05 2b9659a1c228c96070f57dc84b89e5e14245fc16
quartz/i18n/index.ts
@@ -13,5 +13,5 @@
  "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