Skip to content

Commit a374113

Browse files
committed
fix(web): disable-navigation-button-if-dispute-kit-undefined
1 parent 52f86ac commit a374113

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ const NextButton: React.FC<INextButton> = ({ nextRoute }) => {
4141
const isButtonDisabled =
4242
(location.pathname.includes("/resolver/title") && !disputeData.title) ||
4343
(location.pathname.includes("/resolver/description") && !disputeData.description) ||
44-
(location.pathname.includes("/resolver/court") && (!disputeData.courtId || !isGatedTokenValid)) ||
44+
(location.pathname.includes("/resolver/court") &&
45+
(!disputeData.courtId || !isGatedTokenValid || !disputeData.disputeKitId)) ||
4546
(location.pathname.includes("/resolver/jurors") && !disputeData.arbitrationCost) ||
4647
(location.pathname.includes("/resolver/voting-options") && !areVotingOptionsFilled) ||
4748
(location.pathname.includes("/resolver/notable-persons") && !areAliasesValidOrEmpty) ||

0 commit comments

Comments
 (0)