From e4abbe6efd85afc8aaff129fcf8b8e13ac31edee Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Mon, 21 Apr 2025 13:34:02 +0000 Subject: [PATCH] fix: empty workspaces result --- site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx b/site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx index 2850e56e181a7..45c9b221ef743 100644 --- a/site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx +++ b/site/src/pages/WorkspacesPage/WorkspacesEmpty.tsx @@ -1,7 +1,7 @@ import type { Template } from "api/typesGenerated"; import { Avatar } from "components/Avatar/Avatar"; import { Button } from "components/Button/Button"; -import { TableEmpty } from "components/TableEmpty/TableEmpty"; +import { EmptyState } from "components/EmptyState/EmptyState"; import { linkToTemplate, useLinks } from "modules/navigation"; import type { FC } from "react"; import { Link } from "react-router-dom"; @@ -31,12 +31,12 @@ export const WorkspacesEmpty: FC = ({ ); if (isUsingFilter) { - return ; + return ; } if (templates && templates.length === 0 && canCreateTemplate) { return ( - = ({ if (templates && templates.length === 0 && !canCreateTemplate) { return ( - = ({ } return ( -