Farmbot-Web-App/frontend/entry.tsx

13 lines
368 B
TypeScript

/// <reference path="./hacks.d.ts" />
/**
* THIS IS THE ENTRY POINT FOR THE MAIN PORTION OF THE WEB APP.
* Try to keep this file light. */
import { detectLanguage } from "./i18n";
import { stopIE } from "./util/stop_ie";
import { attachAppToDom } from "./routes";
import I from "i18next";
stopIE();
detectLanguage().then(config => I.init(config, attachAppToDom));