summaryrefslogtreecommitdiff
path: root/client/actions
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-07-19 02:27:52 +0200
committerJules Laplace <julescarbon@gmail.com>2017-07-19 02:27:52 +0200
commit9c5b96aec109f7b37cb2c861525a084a65a817ea (patch)
tree3aa2f97b5134892a9f227c6c8fdc8cd778679771 /client/actions
parent2f2c1ef4029dee17be0d16acdd60b7d1718d519f (diff)
adding tasks
Diffstat (limited to 'client/actions')
-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',