2021-01-02 17:58:24 +07:00
|
|
|
import React from "react";
|
|
|
|
|
2022-04-04 06:39:18 +07:00
|
|
|
import { createRoot } from "react-dom/client";
|
2021-01-02 17:58:24 +07:00
|
|
|
|
2021-06-19 15:20:43 +07:00
|
|
|
import "@root/index.css";
|
|
|
|
import App from "@root/App";
|
|
|
|
import * as serviceWorker from "@root/serviceWorker";
|
2022-04-04 06:39:18 +07:00
|
|
|
import "@i18n/index.ts";
|
2021-01-02 17:58:24 +07:00
|
|
|
|
2022-04-04 06:39:18 +07:00
|
|
|
const root = createRoot(document.getElementById("root")!);
|
|
|
|
root.render(<App />);
|
2019-11-19 06:37:36 +07:00
|
|
|
|
|
|
|
// If you want your app to work offline and load faster, you can change
|
|
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|
|
|
|
// Learn more about service workers: https://bit.ly/CRA-PWA
|
|
|
|
serviceWorker.unregister();
|