VirtWebRemote/remote_frontend/src/main.tsx

23 lines
752 B
TypeScript
Raw Normal View History

2024-04-29 18:53:01 +00:00
import React from "react";
import ReactDOM from "react-dom/client";
import { App } from "./App";
2024-05-03 20:03:25 +00:00
import { AlertDialogProvider } from "./hooks/providers/AlertDialogProvider";
import { ConfirmDialogProvider } from "./hooks/providers/ConfirmDialogProvider";
2024-05-03 20:27:18 +00:00
import { ThemeProvider } from "./hooks/providers/ThemeProvider";
import "./index.css";
2024-05-04 07:11:30 +00:00
import { ToastProvider } from "./hooks/providers/ToastProvider";
2024-04-29 18:53:01 +00:00
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
2024-05-03 20:27:18 +00:00
<ThemeProvider>
2024-05-03 20:03:25 +00:00
<AlertDialogProvider>
<ConfirmDialogProvider>
2024-05-04 07:11:30 +00:00
<ToastProvider>
<App />
</ToastProvider>
2024-05-03 20:03:25 +00:00
</ConfirmDialogProvider>
</AlertDialogProvider>
2024-05-03 20:27:18 +00:00
</ThemeProvider>
2024-04-29 18:53:01 +00:00
</React.StrictMode>
);