client/src/actions/notesActions.js
changeset 80 b3a02ea6d097
parent 79 772b73e31069
child 83 76a4e4b11762
--- a/client/src/actions/notesActions.js	Fri Jun 23 10:16:49 2017 +0200
+++ b/client/src/actions/notesActions.js	Fri Jun 23 11:16:34 2017 +0200
@@ -50,3 +50,11 @@
     note
   };
 }
+
+export const updateNote = (note, data) => {
+  return {
+    type: types.UPDATE_NOTE,
+    note,
+    data
+  };
+}