summaryrefslogtreecommitdiff
path: root/client/actions/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/actions/index.js')
-rw-r--r--client/actions/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/actions/index.js b/client/actions/index.js
index afcd10a..5b180ea 100644
--- a/client/actions/index.js
+++ b/client/actions/index.js
@@ -25,8 +25,13 @@ export const setAlpha = (alpha) => ({
export const createTask = () => ({
type: 'CREATE_TASK',
})
-export const addTask = () => ({
+export const addTask = (task) => ({
type: 'ADD_TASK',
+ task,
+})
+export const taskUpdated = (task) => ({
+ type: 'TASK_UPDATED',
+ task,
})
/* tasks */