Skip to content

Commit

Permalink
🐛 remove unecessary warning (#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Dec 18, 2023
1 parent 1245d88 commit 4316dac
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 4316dac

Please sign in to comment.