Skip to content
Snippets Groups Projects
Commit 841d949b authored by Bernard Roland (Student Com20)'s avatar Bernard Roland (Student Com20)
Browse files

Project editing now goes back to the project after completion

parent c2dde257
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export default function ProjectEdit() {
status: status,
deadline: deadline?.toString()
});
history.push('/projects');
history.push(`/projects/${project.id}`);
}
} catch (e) {
setError('There was an error with updating your project. Please try again!');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment