client/src/actions/notes-actions.js
changeset 3 3b5d37d84cfe
parent 2 b52921a63e77
child 4 885a20cde527
--- a/client/src/actions/notes-actions.js	Mon May 22 17:59:19 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-import * as types from './action-types';
-
-import uuidV1 from 'uuid/v1';
-
-export const addNote = (noteText) => {
-  return {
-    type: types.ADD_NOTE,
-    note: {
-      id: uuidV1(),
-      text: noteText
-    }
-  };
-}