Skip to content

Commit b546529

Browse files
committed
Example with actionCreators parameter
1 parent b0179d6 commit b546529

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/todomvc/store/configureStore.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { createStore } from 'redux';
22
import devTools from 'remote-redux-devtools';
33
import rootReducer from '../reducers';
4+
import * as actionCreators from '../actions/todos';
45

56
export default function configureStore(initialState) {
67
const store = createStore(rootReducer, initialState, devTools({
7-
realtime: true
8+
realtime: true, actionCreators
89
}));
910

1011
if (module.hot) {

0 commit comments

Comments
 (0)