2022-09-02 06:36:26 +00:00
|
|
|
import * as React from "react";
|
2022-09-06 11:52:36 +00:00
|
|
|
// import * as ReactDOM from "react-dom";
|
2022-09-02 06:36:26 +00:00
|
|
|
import Authorization from "./Components/Authorization";
|
|
|
|
import { ThemeProvider } from "@mui/material";
|
|
|
|
import theme from "./theme";
|
2022-09-06 11:52:36 +00:00
|
|
|
import { createRoot } from 'react-dom/client';
|
2022-09-02 06:36:26 +00:00
|
|
|
|
2022-09-06 11:52:36 +00:00
|
|
|
const container = document.getElementById('root');
|
|
|
|
const root = createRoot(container!);
|
|
|
|
root.render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
<Authorization />
|
|
|
|
</ThemeProvider>
|
|
|
|
</React.StrictMode>
|
|
|
|
);
|
2022-09-02 06:36:26 +00:00
|
|
|
|
2022-09-06 11:52:36 +00:00
|
|
|
// ReactDOM.render(
|
|
|
|
// <React.StrictMode>
|
|
|
|
// <ThemeProvider theme={theme}>
|
|
|
|
// <Authorization />
|
|
|
|
// </ThemeProvider>
|
|
|
|
// </React.StrictMode>,
|
|
|
|
// document.getElementById("root")
|
|
|
|
// );
|