From 70a29089cdb05df27cf50b50fcbc2e53d8975571 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Jun 2020 22:21:36 +0200 Subject: updating after dragging --- frontend/views/graph/graph.actions.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontend/views/graph/graph.actions.js') diff --git a/frontend/views/graph/graph.actions.js b/frontend/views/graph/graph.actions.js index 2e6ca54..90d0f96 100644 --- a/frontend/views/graph/graph.actions.js +++ b/frontend/views/graph/graph.actions.js @@ -7,3 +7,7 @@ export const showAddPageForm = () => dispatch => { export const hideAddPageForm = () => dispatch => { dispatch({ type: types.graph.hide_add_page_form }) } + +export const updateGraphPage = page => dispatch => { + dispatch({ type: types.graph.update_graph_page, page }) +} -- cgit v1.2.3-70-g09d2