import * as React from "react";
// import * as ReactDOM from "react-dom";
import Authorization from "./Components/Authorization";
import { ThemeProvider } from "@mui/material";
import theme from "./theme";
import { createRoot } from 'react-dom/client';

const container = document.getElementById('root');
const root = createRoot(container!);
root.render(
    <React.StrictMode>
        <ThemeProvider theme={theme}>
            <Authorization />
        </ThemeProvider>
    </React.StrictMode>
);

// ReactDOM.render(
//   <React.StrictMode>
//     <ThemeProvider theme={theme}>
//       <Authorization />
//     </ThemeProvider>
//   </React.StrictMode>,
//   document.getElementById("root")
// );