Fixed use of redux action
This commit is contained in:
parent
8c3335094a
commit
b556441459
7 changed files with 94 additions and 8 deletions
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue