From 1150c621c7c3a86aeb39cc17865c8b87da73f6e0 Mon Sep 17 00:00:00 2001 From: sreya Date: Wed, 15 Jun 2022 18:00:43 +0000 Subject: [PATCH] fix: fix deleted workspace banner 404 - 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 2e7338c5f7c71..93e1b1e960824 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`)} />