diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-19 00:50:05 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-19 00:50:05 +0200 |
| commit | 64e8c03dea044752bf3f2f228462721fe565f950 (patch) | |
| tree | 41b48b67f69979bfc97be166129ee41c8dcb0c7f /client/actions/index.js | |
| parent | 11a70bc347587219b2ec7b63cf4a6ff69bb4199b (diff) | |
refactor all the worker stuff
Diffstat (limited to 'client/actions/index.js')
| -rw-r--r-- | client/actions/index.js | 7 |
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 */ |
