refactor: remove unused helpers and internal exports
This commit is contained in:
1 parent
cab3a360ea
commit
3ecc3d3556
13 files changed
+22
-49
No files matched your search
@@ -78,7 +78,3 @@ export function applyDocumentLocale(locale: SupportedLocale): void {
|
||||
if (typeof document === "undefined") return;
|
||||
document.documentElement.lang = locale;
|
||||
}
|
||||
|
||||
export function localeOption(locale: SupportedLocale) {
|
||||
return supportedLocales.find((entry) => entry.code === locale) ?? supportedLocales[0];
|
||||
}
|
||||
Reference in new issue
Block a user