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 ( -
-
-

Software inventory is disabled.

-

- Check out the Fleet documentation on{" "} - -

-
-
- ); - } - case "collecting": { - return ( -
-
-

- {noSandboxHosts - ? "Fleet begins collecting software inventory after a host is enrolled" - : "Fleet is collecting software inventory"} -

-

- Try again in about{" "} - {noSandboxHosts - ? "15 minutes after host enrollment." - : "1 hour as the system catches up."} -

-
-
- ); - } - default: { - return ( -
-
-

No software matches the current search criteria.

-

Try again in about 1 hour as the system catches up.

-
-
- ); - } - } -}; - -export default EmptySoftware;