keycloak-scim/js/apps/admin-ui/src/main.tsx

21 lines
505 B
TypeScript
Raw Normal View History

2022-08-02 12:11:38 +00:00
import "@patternfly/react-core/dist/styles/base.css";
import "@patternfly/patternfly/patternfly-addons.css";
2022-08-02 12:11:38 +00:00
import { StrictMode } from "react";
import { render } from "react-dom";
import { createHashRouter, RouterProvider } from "react-router-dom";
import { RootRoute } from "./routes";
import "./index.css";
const router = createHashRouter([RootRoute]);
2023-02-13 07:18:16 +00:00
const container = document.getElementById("app");
2023-02-13 07:18:16 +00:00
render(
<StrictMode>
<RouterProvider router={router} />
2023-02-13 07:18:16 +00:00
</StrictMode>,
container
);