From 961f5110ca5173bd70a21bcf40dc69b7fbd57057 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Wed, 15 Jun 2022 13:34:26 -0500 Subject: [PATCH] fix: fix deleted workspace banner 404 (#2386) - When a workspace is deleted the user is nudged to create a new workspace. The page to which they are routed 404s. This PR simply routes them to the /templates page where they can pick a template for their new workspace. --- site/src/components/Workspace/Workspace.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/Workspace/Workspace.tsx b/site/src/components/Workspace/Workspace.tsx index 2e7338c5f7..93e1b1e960 100644 --- a/site/src/components/Workspace/Workspace.tsx +++ b/site/src/components/Workspace/Workspace.tsx @@ -77,7 +77,7 @@ export const Workspace: FC = ({ workspace={workspace} /> - navigate(`/workspaces/new`)} /> + navigate(`/templates`)} />