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

10 lines
292 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-11-29 14:17:11 +01:00
import AdminDashboard 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>
<AdminDashboard />
</LocaleProvider>);