Skip to content

Commit

Permalink
fix: missing empty condition (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncomerci authored Dec 28, 2023
1 parent d63726b commit f786b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Updates/FinancialSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ function FinancialSection({
setValue('financial_records', parsedResultWithoutErrors.data.financial_records)
}
}
} else {
setValue('financial_records', [])
}

if (inputErrors.length > 0) {
Expand Down

0 comments on commit f786b07

Please sign in to comment.