fix: ♻️ set en-US as default lang for type

This commit is contained in:
ThatOneCalculator 2023-10-29 14:02:04 -07:00
parent ae2ad03c25
commit 1c9389ca21
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -12,7 +12,7 @@ export const wsUrl = `${url
.replace("https://", "wss://")}/streaming`;
export const lang = localStorage.getItem("lang");
export const langs = _LANGS_;
export const locale = JSON.parse(localStorage.getItem("locale"));
export const locale = JSON.parse(localStorage.getItem("locale") || "en-US");
export const version = _VERSION_;
export const instanceName = siteName === "Firefish" ? host : siteName;
export const ui = localStorage.getItem("ui");