From 79a1f68b4d2ce17621bc7175c469879a07be77b6 Mon Sep 17 00:00:00 2001 From: Jacob Shandling <61553566+jacobshandling@users.noreply.github.com> Date: Fri, 31 Mar 2023 13:52:33 -0700 Subject: [PATCH] Delete unused component (#10892) --- .../software/components/EmptySoftware.tsx | 68 ------------------- 1 file changed, 68 deletions(-) delete mode 100644 frontend/pages/software/components/EmptySoftware.tsx diff --git a/frontend/pages/software/components/EmptySoftware.tsx b/frontend/pages/software/components/EmptySoftware.tsx deleted file mode 100644 index 4cd6b3dafe..0000000000 --- a/frontend/pages/software/components/EmptySoftware.tsx +++ /dev/null @@ -1,68 +0,0 @@ -// This component is used on ManageSoftwarePage.tsx and DashboardPage.tsx > Software.tsx card - -import React from "react"; - -import CustomLink from "components/CustomLink"; - -const baseClass = "manage-software-page"; - -type IEmptySoftwareProps = { - message: "disabled" | "collecting" | "default" | ""; - noSandboxHosts?: boolean; -}; - -const EmptySoftware = ({ - message, - noSandboxHosts, -}: IEmptySoftwareProps): JSX.Element => { - switch (message) { - case "disabled": { - return ( -
- Check out the Fleet documentation on{" "}
-
- Try again in about{" "} - {noSandboxHosts - ? "15 minutes after host enrollment." - : "1 hour as the system catches up."} -
-Try again in about 1 hour as the system catches up.
-