Skip to content

Commit

Permalink
fix: use correct variable to check for deminimis length
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Oct 5, 2023
1 parent 0b5ef70 commit 51e2ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/benefit/applicant/src/hooks/useFormActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const useFormActions = (application: Partial<Application>): FormActions => {
...normalizedValues,
deMinimisAidSet: deMinimisAidData,
benefitType: BENEFIT_TYPES.SALARY,
deMinimisAid: deMinimisAidSet.length > 0,
deMinimisAid: deMinimisAidData.length > 0,
};
};

Expand Down

0 comments on commit 51e2ce8

Please sign in to comment.