Last active
May 19, 2019 17:24
-
-
Save GergKllai1/1d8372c6725dc4c0e8edddb0a3b45e4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/redux/reducers/contactReducer.js | |
const initialState = { | |
contacts : [ | |
{ name: "John Doe", phone: "073-300-5000", email: "john@mail.com" } | |
] | |
} | |
const contactReducer = (state = initialState, action) => { | |
return state | |
} | |
export default contactReducer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment