Skip to content

Commit c5f63ad

Browse files
committed
refactor(web): category-param-optional-in-dr
1 parent 36794ef commit c5f63ad

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

web/src/context/NewDisputeContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface IDisputeTemplate {
2828
arbitrableChainID?: string;
2929
arbitratorAddress?: string;
3030
arbitratorChainID?: string;
31-
category: string;
31+
category?: string;
3232
description: string;
3333
frontendUrl?: string;
3434
lang?: string;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const NextButton: React.FC<INextButton> = ({ nextRoute }) => {
2929
(location.pathname.includes("/resolver/title") && !disputeData.title) ||
3030
(location.pathname.includes("/resolver/description") && !disputeData.description) ||
3131
(location.pathname.includes("/resolver/court") && !disputeData.courtId) ||
32-
(location.pathname.includes("/resolver/category") && !disputeData.category) ||
3332
(location.pathname.includes("/resolver/jurors") && !disputeData.arbitrationCost) ||
3433
(location.pathname.includes("/resolver/voting-options") && !areVotingOptionsFilled) ||
3534
(location.pathname.includes("/resolver/notable-persons") && !areFilledAddressesValid) ||

0 commit comments

Comments
 (0)