Skip to content

Commit

Permalink
fix: cancel button on create-workspace page wasn't going to the right…
Browse files Browse the repository at this point in the history
… place (#117)
  • Loading branch information
bryphe-coder committed Feb 1, 2022
1 parent 515e55d commit bf90ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/projects/[organization]/[project]/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit bf90ded

Please sign in to comment.