client/src/actions/notesActions.js
changeset 132 906a6c7c7943
parent 129 d48946d164c6
--- a/client/src/actions/notesActions.js	Mon Jul 31 23:18:38 2017 +0200
+++ b/client/src/actions/notesActions.js	Tue Aug 01 12:20:14 2017 +0200
@@ -45,6 +45,10 @@
   return { type: types.DO_DELETE_NOTE, noteId };
 }
 
+export const doDeleteAllNote = () => {
+  return { type: types.DO_DELETE_ALL_NOTE };
+}
+
 export const loadNote = (note) => {
   return { type: types.LOAD_NOTE, note };
 }