Skip to content

Commit

Permalink
🐛 remove unecessary warning
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 committed Dec 18, 2023
1 parent fa663da commit f9c7b39
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ const QuestionnaireSummary: React.FC<QuestionnaireSummaryProps> = ({
filteredSummaryData?.sections?.flatMap((section) => section.questions) ||
[];

if (!summaryData) {
return <div>No data available.</div>;
}

const dynamicPath = isArchetype
? formatPath(Paths.archetypeAssessmentActions, {
archetypeId: (summaryData as Assessment)?.archetype?.id,
Expand Down

0 comments on commit f9c7b39

Please sign in to comment.