diff --git a/redux/redux-reactRedux/src/App.js b/redux/redux-reactRedux/src/App.js index faab84f74..aa69d90b4 100644 --- a/redux/redux-reactRedux/src/App.js +++ b/redux/redux-reactRedux/src/App.js @@ -1,10 +1,11 @@ import './App.css'; import Count from './containers/count'; -import store from './redux/store'; +// import store from './redux/store'; function App() { return (
- + + {/* */}
); } diff --git a/redux/redux-reactRedux/src/index.js b/redux/redux-reactRedux/src/index.js index b000d0309..4ebdd48b9 100644 --- a/redux/redux-reactRedux/src/index.js +++ b/redux/redux-reactRedux/src/index.js @@ -2,11 +2,15 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; +import store from './redux/store'; +import { Provider } from 'react-redux'; import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - + + + ); reportWebVitals();