diff --git a/webui/src/main.jsx b/webui/src/main.jsx index 2fa6bba..eea9e8a 100644 --- a/webui/src/main.jsx +++ b/webui/src/main.jsx @@ -3,14 +3,17 @@ import ReactDOM from "react-dom/client"; import App from "./App.jsx"; import "@/common/styles/main.sass"; import BlurredBackground from "@/common/components/BlurredBackground"; +import {StateProvider} from "@/common/contexts/StateContext"; ReactDOM.createRoot(document.getElementById("root")).render( - <React.StrictMode> - <BlurredBackground /> + <React.StrictMode> + <BlurredBackground/> - <div className="app"> - <App /> - </div> + <div className="app"> + <StateProvider> + <App/> + </StateProvider> + </div> - </React.StrictMode>, + </React.StrictMode>, ); \ No newline at end of file