Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf90ded

Browse files
authored
fix: cancel button on create-workspace page wasn't going to the right place (#117)
1 parent 515e55d commit bf90ded

File tree

1 file changed

+1
-1
lines changed
  • site/pages/projects/[organization]/[project]

1 file changed

+1
-1
lines changed

site/pages/projects/[organization]/[project]/create.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CreateWorkspacePage: React.FC = () => {
2727
}
2828

2929
const onCancel = async () => {
30-
await router.push(`/projects/${organization}/${project}`)
30+
await router.push(`/projects/${organization}/${projectName}`)
3131
}
3232

3333
const onSubmit = async (req: API.CreateWorkspaceRequest) => {

0 commit comments

Comments
 (0)