Skip to content

Commit 223abb9

Browse files
committed
fix(web): fix-cognitive-complexity-issue
1 parent 96571a1 commit 223abb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Resolver/NavigationButtons/NextButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const NextButton: React.FC<INextButton> = ({ nextRoute }) => {
2525
(location.pathname.includes("/resolver/title") && !disputeData.title) ||
2626
(location.pathname.includes("/resolver/description") && !disputeData.description) ||
2727
(location.pathname.includes("/resolver/court") && !disputeData.courtId) ||
28-
(location.pathname.includes("/resolver/jurors") && (!disputeData.numberOfJurors || !disputeData.arbitrationCost)) ||
28+
(location.pathname.includes("/resolver/jurors") && !disputeData.arbitrationCost) ||
2929
(location.pathname.includes("/resolver/votingoptions") && !areVotingOptionsFilled) ||
3030
(location.pathname.includes("/resolver/notablepersons") && !areFilledAddressesValid) ||
3131
(location.pathname.includes("/resolver/policy") && (isPolicyUploading || !disputeData.policyURI));

0 commit comments

Comments
 (0)