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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/actions/index.js b/client/actions/index.js
index 94d64c8..72df1c4 100644
--- a/client/actions/index.js
+++ b/client/actions/index.js
@@ -22,8 +22,9 @@ export const setAlpha = (alpha) => ({
type: 'SET_ALPHA',
alpha,
})
-export const createTask = () => ({
+export const createTask = (cb) => ({
type: 'CREATE_TASK',
+ cb
})
export const addTask = (task) => ({
type: 'ADD_TASK',