Fix not refreshing the page after switching language

This commit is contained in:
redphx 2024-04-25 17:57:53 +07:00
parent 293e3c8d73
commit 3eb70498a3

View File

@ -1,4 +1,4 @@
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "../../utils/global";
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION, refreshLocale } from "../../utils/global";
import { CE, createButton, Icon, ButtonStyle } from "../../utils/html";
import { getPreferredServerRegion } from "../../utils/region";
import { UserAgent, UserAgentProfile } from "../../utils/user-agent";
@ -346,6 +346,3 @@ export function setupSettingsUi() {
const $pageContent = document.getElementById('PageContent');
$pageContent?.parentNode?.insertBefore($container, $pageContent);
}
function refreshLocale() {
throw new Error("Function not implemented.");
}