2024-04-29 18:53:01 +00:00
|
|
|
import React from "react";
|
|
|
|
import ReactDOM from "react-dom/client";
|
|
|
|
import "./index.css";
|
|
|
|
import { App } from "./App";
|
2024-04-29 20:14:16 +00:00
|
|
|
import {
|
|
|
|
FluentProvider,
|
|
|
|
teamsHighContrastTheme,
|
|
|
|
} from "@fluentui/react-components";
|
2024-05-03 20:03:25 +00:00
|
|
|
import { AlertDialogProvider } from "./hooks/providers/AlertDialogProvider";
|
|
|
|
import { ConfirmDialogProvider } from "./hooks/providers/ConfirmDialogProvider";
|
2024-04-29 18:53:01 +00:00
|
|
|
|
|
|
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
|
|
<React.StrictMode>
|
2024-04-29 20:14:16 +00:00
|
|
|
<FluentProvider
|
|
|
|
theme={teamsHighContrastTheme}
|
|
|
|
style={{ display: "flex", flex: 1 }}
|
|
|
|
>
|
2024-05-03 20:03:25 +00:00
|
|
|
<AlertDialogProvider>
|
|
|
|
<ConfirmDialogProvider>
|
|
|
|
<App />
|
|
|
|
</ConfirmDialogProvider>
|
|
|
|
</AlertDialogProvider>
|
2024-04-29 20:14:16 +00:00
|
|
|
</FluentProvider>
|
2024-04-29 18:53:01 +00:00
|
|
|
</React.StrictMode>
|
|
|
|
);
|