import React from "react";
import {createRoot} from 'react-dom/client';
import App from "./app/App";

import './index.scss';

const mountApp = () => {
    const rootContainer = document.getElementById('root');
    if (rootContainer === null) {
        document.write('Root not found.');
        return;
    }
    const root = createRoot(rootContainer);

    root.render(<App />);
};

mountApp();