File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
web/src/pages/Cases/CaseDetails/Voting Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const RefuseToArbitrateContainer = styled.div`
4444 justify-content: center;
4545` ;
4646
47- const Binary : React . FC < { arbitrable : `0x${string } `; voteIDs : string [ ] } > = ( { arbitrable, voteIDs } ) => {
47+ const Classic : React . FC < { arbitrable : `0x${string } `; voteIDs : string [ ] } > = ( { arbitrable, voteIDs } ) => {
4848 const { id } = useParams ( ) ;
4949 const parsedDisputeID = BigInt ( id ?? 0 ) ;
5050 const parsedVoteIDs = useMemo ( ( ) => voteIDs . map ( ( voteID ) => BigInt ( voteID ) ) , [ voteIDs ] ) ;
@@ -122,4 +122,4 @@ const Binary: React.FC<{ arbitrable: `0x${string}`; voteIDs: string[] }> = ({ ar
122122 ) ;
123123} ;
124124
125- export default Binary ;
125+ export default Classic ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { useParams } from "react-router-dom";
33import { useAccount } from "wagmi" ;
44import { useDisputeDetailsQuery } from "queries/useDisputeDetailsQuery" ;
55import { useDrawQuery } from "queries/useDrawQuery" ;
6- import Binary from "./Binary " ;
6+ import Classic from "./Classic " ;
77import VotingHistory from "./VotingHistory" ;
88import { Periods } from "consts/periods" ;
99import { isUndefined } from "utils/index" ;
@@ -29,7 +29,7 @@ const Voting: React.FC<{
2929 currentPeriodIndex === Periods . vote &&
3030 drawData . draws ?. length > 0 &&
3131 ! voted ? (
32- < Binary { ...{ arbitrable } } voteIDs = { drawData . draws . map ( ( draw ) => draw . voteID ) } />
32+ < Classic { ...{ arbitrable } } voteIDs = { drawData . draws . map ( ( draw ) => draw . voteID ) } />
3333 ) : (
3434 < VotingHistory { ...{ arbitrable } } />
3535 ) ;
You can’t perform that action at this time.
0 commit comments