fixed use context error

This commit was merged in pull request #4.
This commit is contained in:
victorAnumudu
2025-09-09 17:40:41 +01:00
parent 59184d38aa
commit f2671c44a2
11 changed files with 20 additions and 21 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ import { Provider } from "react-redux";
import './index.css';
import App from './App';
import store from './store/store.js'
import GeneralLayoutContext from './context/GeneralLayoutContext.jsx';
import GeneralLayoutContextInt from './context/GeneralLayoutContext.jsx';
const root = ReactDOM.createRoot(document.getElementById('root'));
@@ -14,9 +14,9 @@ root.render(
<React.StrictMode>
<BrowserRouter>
<Provider store={store}>
<GeneralLayoutContext>
<GeneralLayoutContextInt>
<App />
</GeneralLayoutContext>
</GeneralLayoutContextInt>
</Provider>
</BrowserRouter>
</React.StrictMode>