Skip to content

Commit

Permalink
Fixed more PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbjarnio committed Sep 30, 2024
1 parent 1047eef commit 03392d7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export const InvolvedPartyScreen = ({
setSubmitButtonDisabled && setSubmitButtonDisabled(true)
}

if (
data.officialJournalOfIcelandApplicationGetUserInvolvedParties
.involvedParties.length === 1
) {
if (involvedParties.length === 1) {
const involvedParty = involvedParties[0]

setValue(InputFields.advert.involvedPartyId, involvedParty.id)
Expand Down

0 comments on commit 03392d7

Please sign in to comment.