refactor: remove remaining dead code
This commit is contained in:
1 parent
3852956a71
commit
961b1fdd7d
46 files changed
+85
-250
No files matched your search
@@ -51,7 +51,7 @@ export function normalizeLocale(
|
||||
return baseMatch?.code ?? defaultLocale;
|
||||
}
|
||||
|
||||
export function readStoredLocale(): SupportedLocale | null {
|
||||
function readStoredLocale(): SupportedLocale | null {
|
||||
if (typeof window === "undefined") return null;
|
||||
try {
|
||||
const raw = window.localStorage.getItem(LOCALE_STORAGE_KEY);
|
||||
|
||||
Reference in new issue
Block a user