started dashboard layout

This commit is contained in:
victorAnumudu
2025-02-12 23:20:40 +01:00
parent 63bb8eee52
commit d65380363e
30 changed files with 1025 additions and 23 deletions
+13 -1
View File
@@ -1,11 +1,23 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom'
import { Provider } from "react-redux";
import './index.css';
import App from './App';
import store from './store/store.js'
import GeneralLayoutContext from './context/GeneralLayoutContext.jsx';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
<BrowserRouter>
<Provider store={store}>
<GeneralLayoutContext>
<App />
</GeneralLayoutContext>
</Provider>
</BrowserRouter>
</React.StrictMode>
);