From 3b00ca8991f7092aa1cb3d584df12a0368f4fa4b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Jun 2020 16:20:01 +0200 Subject: form works! add graph reducer, fonts --- frontend/views/index/containers/graph.new.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/views/index/containers/graph.new.js') diff --git a/frontend/views/index/containers/graph.new.js b/frontend/views/index/containers/graph.new.js index 186f8f7..be96bf5 100644 --- a/frontend/views/index/containers/graph.new.js +++ b/frontend/views/index/containers/graph.new.js @@ -14,7 +14,7 @@ class GraphNew extends Component { .then(res => { console.log(res) if (res.res && res.res.id) { - history.push('/graph/' + res.res.name) + history.push('/' + res.res.path) } }) .catch(err => { -- cgit v1.2.3-70-g09d2