mirror of https://github.com/coder/coder.git
fix: cancel button on create-workspace page wasn't going to the right place (#117)
This commit is contained in:
parent
515e55db33
commit
bf90dede4f
|
@ -27,7 +27,7 @@ const CreateWorkspacePage: React.FC = () => {
|
|||
}
|
||||
|
||||
const onCancel = async () => {
|
||||
await router.push(`/projects/${organization}/${project}`)
|
||||
await router.push(`/projects/${organization}/${projectName}`)
|
||||
}
|
||||
|
||||
const onSubmit = async (req: API.CreateWorkspaceRequest) => {
|
||||
|
|
Loading…
Reference in New Issue