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

Skip to content

Commit a3cb43e

Browse files
committed
fix: Redirect to workspaces page after creation
1 parent deb7170 commit a3cb43e

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
@@ -32,7 +32,7 @@ const CreateWorkspacePage: React.FC = () => {
3232

3333
const onSubmit = async (req: API.CreateWorkspaceRequest) => {
3434
const workspace = await API.Workspace.create(req)
35-
await router.push(`/workspaces/${workspace.id}`)
35+
await router.push(`/workspaces/me/${workspace.name}`)
3636
return workspace
3737
}
3838

0 commit comments

Comments
 (0)