diff --git a/client/src/app/pages/reports/reports.tsx b/client/src/app/pages/reports/reports.tsx index 7ea098017d..e2941d79be 100644 --- a/client/src/app/pages/reports/reports.tsx +++ b/client/src/app/pages/reports/reports.tsx @@ -1,11 +1,9 @@ import React, { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { - Bullseye, Card, CardBody, CardHeader, - CardTitle, Flex, FlexItem, MenuToggle, @@ -13,8 +11,6 @@ import { PageSectionVariants, Select, SelectOption, - Split, - SplitItem, Stack, StackItem, Text, @@ -220,19 +216,9 @@ export const Reports: React.FC = () => { - - - - - - - {t("terms.identifiedRisks")} - - - - - - + + {t("terms.identifiedRisks")} + diff --git a/client/src/app/pages/review/review-page.tsx b/client/src/app/pages/review/review-page.tsx index 0acfe9f2dd..5cd57dd23e 100644 --- a/client/src/app/pages/review/review-page.tsx +++ b/client/src/app/pages/review/review-page.tsx @@ -125,17 +125,19 @@ const ReviewPage: React.FC = () => { {t("terms.assessmentSummary")} - - + + + + )} diff --git a/client/src/app/queries/assessments.ts b/client/src/app/queries/assessments.ts index caffb76c3d..2b24138b7e 100644 --- a/client/src/app/queries/assessments.ts +++ b/client/src/app/queries/assessments.ts @@ -231,9 +231,7 @@ export const useFetchAssessmentsWithArchetypeApplications = () => { ), ].map((archetypeId) => ({ queryKey: ["archetype", archetypeId], - queryFn: () => - archetypeId ? getArchetypeById(archetypeId) : undefined, - enabled: !!archetypeId, + queryFn: () => getArchetypeById(archetypeId), })) || [], });