web-base/react/admin-panel/src/index.js

10 lines
270 B
JavaScript
Raw Normal View History

2022-11-30 16:42:24 +01:00
import React from "react";
import {createRoot} from "react-dom/client";
2022-12-01 01:28:38 +01:00
import App from "./App";
2022-11-30 23:15:52 +01:00
import {LocaleProvider} from "shared/locale";
2022-11-29 14:17:11 +01:00
2022-11-30 16:42:24 +01:00
const root = createRoot(document.getElementById('admin-panel'));
2022-11-30 23:15:52 +01:00
root.render(<LocaleProvider>
2022-12-01 01:28:38 +01:00
<App />
2022-11-30 23:15:52 +01:00
</LocaleProvider>);