8 lines
186 B
TypeScript
8 lines
186 B
TypeScript
import { detectLanguage } from "./i18n";
|
|
import I from "i18next";
|
|
import { noop } from "lodash";
|
|
|
|
export async function revertToEnglish() {
|
|
I.init(await detectLanguage("en"), noop);
|
|
}
|