Skip to content

Commit 560cc04

Browse files
committed
reducerjs changed for default initialState
1 parent 7613e61 commit 560cc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confusion/src/redux/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export const initialState = {
1010
promotions: PROMOTIONS,
1111
};
1212

13-
export const Reducer = (state, action) => {
13+
export const Reducer = (state = initialState, action) => {
1414
return state;
1515
};

0 commit comments

Comments
 (0)