import React from "react";
import ReactDOM from "react-dom/client";

import "antd/dist/antd.min.css";
import { RouterProvider } from "react-router-dom";

import { router } from "./core/routers/routers";
import { SocketLister } from "./features/socket_lister/socket_lister";
import { extensions } from "./core/extensions/extensions";
import { SceneManger } from "./features/scene_manager/scene_manager";

extensions();
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);

root.render(
  <>
    <SocketLister>
      {/* <RouterProvider router={router} /> */}
      <SceneManger />
    </SocketLister>
  </>
);
