Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function todoApp(state = initialState, action) {
- switch (action.type) {
- case SET_VISIBILITY_FILTER:
- return Object.assign({}, state)
- ...
- function todoApp(state = initialState, action) {
- switch (action.type) {
- case SET_VISIBILITY_FILTER:
- return { ...state }
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement