From 04f7efe6c05153cbd1613e7b0c78b3b6478ae39b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Jun 2020 20:25:23 +0200 Subject: new page form --- frontend/views/graph/graph.actions.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 frontend/views/graph/graph.actions.js (limited to 'frontend/views/graph/graph.actions.js') diff --git a/frontend/views/graph/graph.actions.js b/frontend/views/graph/graph.actions.js new file mode 100644 index 0000000..2e6ca54 --- /dev/null +++ b/frontend/views/graph/graph.actions.js @@ -0,0 +1,9 @@ +import * as types from '../../types' + +export const showAddPageForm = () => dispatch => { + dispatch({ type: types.graph.show_add_page_form }) +} + +export const hideAddPageForm = () => dispatch => { + dispatch({ type: types.graph.hide_add_page_form }) +} -- cgit v1.2.3-70-g09d2