File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,11 @@ class Store<State extends BuiltReducer, Actions extends ReduxActions> {
32
32
33
33
// setup the middleware dispatch chain
34
34
ActionHandler handler = (action) {
35
- print ("action ${action .name }" );
36
35
var state = _state.rebuild ((b) => _state.reduce (b, action));
37
36
38
37
// if the hashcode did not change bail
39
38
if (identical (_state, state)) return ;
40
- print (state);
39
+
41
40
// update the internal state and publish the change
42
41
_state = state;
43
42
_stateController.add (_state);
@@ -61,7 +60,4 @@ class Store<State extends BuiltReducer, Actions extends ReduxActions> {
61
60
62
61
/// [actions] returns the synced actions
63
62
Actions get actions => _actions;
64
-
65
- /// [dispatch] dispatches a new actione
66
- dispatch (Action a) => _dispatch.add (a);
67
63
}
You can’t perform that action at this time.
0 commit comments