mirror of
https://github.com/maputnik/editor.git
synced 2026-09-03 19:07:25 +00:00
9c1499b805
## Launch Checklist See title, Also removed some "_" from some file names. This is a pure refactoring, no logic changes. - [x] Briefly describe the changes in this PR. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
18 lines
453 B
React
18 lines
453 B
React
import { IconContext } from "react-icons";
|
|
import { createRoot } from "react-dom/client";
|
|
|
|
import "./favicon.ico";
|
|
import "./styles/index.scss";
|
|
import "./i18n";
|
|
import { App } from "./components/App";
|
|
|
|
const root = createRoot(document.querySelector("#app"));
|
|
root.render(
|
|
<IconContext.Provider value={{className: "react-icons"}}>
|
|
<App/>
|
|
</IconContext.Provider>
|
|
);
|
|
|
|
// Hide the loader.
|
|
document.querySelector(".loading").style.display = "none";
|