mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: cancel button on create-workspace page wasn't going to the right place (#117)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user