Candidate swapping button

This commit is contained in:
Rodrigo Pedroso 2019-06-21 00:59:25 -04:00
commit a2b8e7480e
6 changed files with 77 additions and 34 deletions

View file

@ -1,4 +1,9 @@
import { ADD_ARTICLE } from "../constants/action-types"
import { SET_CANDIDATE } from "../constants/action-types"
export function setCandidate(payload) {
return { type: SET_CANDIDATE, payload }
}
export function addArticle(payload) {
return { type: ADD_ARTICLE, payload }