diff --git a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/SoftwarePackageCard/SoftwarePackageCard.tsx b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/SoftwarePackageCard/SoftwarePackageCard.tsx
index 0229550957ee..125b74dc8d19 100644
--- a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/SoftwarePackageCard/SoftwarePackageCard.tsx
+++ b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/SoftwarePackageCard/SoftwarePackageCard.tsx
@@ -8,7 +8,7 @@ import React, {
import PATHS from "router/paths";
import { AppContext } from "context/app";
import { NotificationContext } from "context/notification";
-import { SoftwareInstallStatus, ISoftwarePackage } from "interfaces/software";
+import { ISoftwarePackage } from "interfaces/software";
import softwareAPI from "services/entities/software";
import { buildQueryStringFromParams } from "utilities/url";
@@ -102,7 +102,7 @@ const STATUS_DISPLAY_OPTIONS: Record<
with exit code 0). Currently, if the software is uninstalled, the
- "installed" status won't be updated.
+ "Installed" status won't be updated.
>
),
},
diff --git a/frontend/pages/SoftwarePage/components/AddPackage/AddPackage.tsx b/frontend/pages/SoftwarePage/components/AddPackage/AddPackage.tsx
index 52cb805f7f46..796ad097c73c 100644
--- a/frontend/pages/SoftwarePage/components/AddPackage/AddPackage.tsx
+++ b/frontend/pages/SoftwarePage/components/AddPackage/AddPackage.tsx
@@ -110,16 +110,19 @@ const AddPackage = ({
) {
renderFlash(
"error",
- `${reason}. ${(
+ <>
+ {reason}{" "}
- )} `
+ >
);
+ } else {
+ renderFlash("error", getErrorMessage(e));
}
- renderFlash("error", getErrorMessage(e));
}
onExit();