refactor: remove unused helpers and internal exports

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-24 17:11:28 +08:00
1 parent cab3a360ea
commit 3ecc3d3556
13 files changed
+22 -49

No files matched your search

-4
View File
@@ -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];
}