Integrated the StateProvider into the main.jsx

This commit is contained in:
Mathias Wagner 2023-06-09 02:24:05 +02:00
parent 1bfb459d56
commit 6ed10e348d

View File

@ -3,14 +3,17 @@ import ReactDOM from "react-dom/client";
import App from "./App.jsx"; import App from "./App.jsx";
import "@/common/styles/main.sass"; import "@/common/styles/main.sass";
import BlurredBackground from "@/common/components/BlurredBackground"; import BlurredBackground from "@/common/components/BlurredBackground";
import {StateProvider} from "@/common/contexts/StateContext";
ReactDOM.createRoot(document.getElementById("root")).render( ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode> <React.StrictMode>
<BlurredBackground /> <BlurredBackground/>
<div className="app"> <div className="app">
<App /> <StateProvider>
</div> <App/>
</StateProvider>
</div>
</React.StrictMode>, </React.StrictMode>,
); );