diff options
Diffstat (limited to 'animism-align/frontend/app/views/project/containers')
| -rw-r--r-- | animism-align/frontend/app/views/project/containers/project.edit.js | 2 | ||||
| -rw-r--r-- | animism-align/frontend/app/views/project/containers/project.new.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/project/containers/project.edit.js b/animism-align/frontend/app/views/project/containers/project.edit.js index dbb384d..b0b7bef 100644 --- a/animism-align/frontend/app/views/project/containers/project.edit.js +++ b/animism-align/frontend/app/views/project/containers/project.edit.js @@ -20,7 +20,7 @@ class ProjectEdit extends Component { .then(response => { // response console.log(response) - history.push('/project/') + history.push('/') }) } diff --git a/animism-align/frontend/app/views/project/containers/project.new.js b/animism-align/frontend/app/views/project/containers/project.new.js index c8a2152..149ee67 100644 --- a/animism-align/frontend/app/views/project/containers/project.new.js +++ b/animism-align/frontend/app/views/project/containers/project.new.js @@ -24,7 +24,7 @@ class ProjectNew extends Component { .then(res => { console.log(res) if (res.res && res.res.id) { - history.push('/project/') + history.push('/') } }) .catch(err => { |
