Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

use defaultState to set initial count to 1 #1

Merged
merged 1 commit into from Jul 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions frontend/store.tsx
Expand Up @@ -21,8 +21,6 @@ const store = Redux.createStore((state: State, action: Action): State => {
return { ...state, counter: state.counter - 1 };
}
return state;
}, {
counter: 0
});
}, defaultState);

export default store;