-
-
Save vhnam/b29b7c49d20c44a28f4287a8c9841dd5 to your computer and use it in GitHub Desktop.
Redux __ Step 3
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
import { ADD_ARTICLE } from '../constants/action-types' | |
export const addArticle = article => ({ type: ADD_ARTICLE, payload: article }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment