From bd11e5aecd5bade7645e92d82c8b3d5d042d0f7c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Thu, 1 Jun 2023 19:42:38 +0200 Subject: [PATCH] Integrated the StatusProvider into the App.jsx --- client/src/App.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 03cc649..088299e 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -5,6 +5,7 @@ import {BrowserRouter} from "react-router-dom"; import Header from "@/common/components/Header"; import Content from "@/common/components/Content"; import {useState} from "react"; +import {StatusProvider} from "@/common/contexts/Status"; const App = () => { const [sidebarOpen, setSidebarOpen] = useState(window.innerWidth >= 1024); @@ -12,9 +13,11 @@ const App = () => { return ( <> - -
- + + +
+ + )