Skip to content

Commit

Permalink
fix: crash when decision proposal was not created/fetched yet
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Oct 29, 2024
1 parent 3ae95c3 commit 11a387d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const CalculationReview: React.FC<ApplicationReviewStepProps> = ({
calculation,
});

if (!decisionProposalDraft) return null;

return (
<>
<$GridCell $colSpan={12}>
Expand Down

0 comments on commit 11a387d

Please sign in to comment.