fixed use context error
This commit was merged in pull request #4.
This commit is contained in:
+3
-3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user