Skip to content

Commit

Permalink
Add the store from redux, and importing the neccessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidd254 committed Jul 24, 2023
1 parent 704188b commit 16f2a21
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import store from './redux/store';
import './assets/styles/index.css';
import App from './App';
import './assets/styles/responsive.css';
Expand All @@ -9,9 +11,11 @@ import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<BrowserRouter>
<App />
</BrowserRouter>
<Provider store={store}>
<BrowserRouter>
<App />
</BrowserRouter>
</Provider>
</React.StrictMode>,
);

Expand Down

0 comments on commit 16f2a21

Please sign in to comment.