From bf90dede4f0bf982335f9059cbda08a9c68eb8d2 Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 31 Jan 2022 19:08:10 -0800 Subject: [PATCH] fix: cancel button on create-workspace page wasn't going to the right place (#117) --- site/pages/projects/[organization]/[project]/create.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/pages/projects/[organization]/[project]/create.tsx b/site/pages/projects/[organization]/[project]/create.tsx index ce2c66508a..07e829426a 100644 --- a/site/pages/projects/[organization]/[project]/create.tsx +++ b/site/pages/projects/[organization]/[project]/create.tsx @@ -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) => {