fix(i18n): add default locale
This commit is contained in:
		@@ -13,5 +13,5 @@ export const TRANSLATIONS = {
 | 
				
			|||||||
  "nl-NL": nl,
 | 
					  "nl-NL": nl,
 | 
				
			||||||
} as const
 | 
					} 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
 | 
					export type ValidLocale = keyof typeof TRANSLATIONS
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user