Candidate swapping button
This commit is contained in:
parent
6759a05743
commit
a2b8e7480e
6 changed files with 77 additions and 34 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue