Jacky Zhao
2024-02-06 34334eabed151cf5fa881d6b34f75107a2d3871e
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