Fixed use of redux action

This commit is contained in:
Rodrigo Pedroso 2019-06-19 16:37:03 -04:00
commit b556441459
7 changed files with 94 additions and 8 deletions

View file

@ -5,6 +5,10 @@ import { Provider } from 'react-redux'
import store from './js/store/index'
import App from './js/components/App.jsx'
import * as serviceWorker from './serviceWorker'
import { addArticle } from "./js/actions/index"
window.store = store
window.addArticle = addArticle
ReactDOM.render(
<Provider store={store}>