From 4316dac604ac5282144d4f7d2de432a0ed29312b Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Mon, 18 Dec 2023 15:30:50 -0500 Subject: [PATCH] :bug: remove unecessary warning (#1636) https://issues.redhat.com/browse/MTA-1906 Signed-off-by: ibolton336 --- .../questionnaire-summary/questionnaire-summary.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/src/app/components/questionnaire-summary/questionnaire-summary.tsx b/client/src/app/components/questionnaire-summary/questionnaire-summary.tsx index 26d2907788..d9b44830a0 100644 --- a/client/src/app/components/questionnaire-summary/questionnaire-summary.tsx +++ b/client/src/app/components/questionnaire-summary/questionnaire-summary.tsx @@ -82,10 +82,6 @@ const QuestionnaireSummary: React.FC = ({ filteredSummaryData?.sections?.flatMap((section) => section.questions) || []; - if (!summaryData) { - return
No data available.
; - } - const dynamicPath = isArchetype ? formatPath(Paths.archetypeAssessmentActions, { archetypeId: (summaryData as Assessment)?.archetype?.id,