Updated Toast alerts, progress mvp

• Updated:
- Toast alerts
This commit is contained in:
mgabdev
2020-12-07 23:39:13 -05:00
parent 5422c013e1
commit 05c5dcb581
28 changed files with 205 additions and 109 deletions

View File

@@ -29,11 +29,13 @@ const voteRequest = () => ({
const voteSuccess = (poll) => ({
type: POLL_VOTE_SUCCESS,
showToast: true,
poll,
})
const voteFail = (error) => ({
type: POLL_VOTE_FAIL,
showToast: true,
error,
})