File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
web/src/pages/Cases/CaseDetails Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ function formatDate(unixTimestamp: number): string {
3939interface IVoting {
4040 arbitrable ?: `0x${string } `;
4141 currentPeriodIndex ?: number ;
42- courtId : number ;
4342}
4443
4544const Voting : React . FC < IVoting > = ( { arbitrable, currentPeriodIndex } ) => {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const CaseDetails: React.FC = () => {
2828 const { id } = useParams ( ) ;
2929 const { data } = useDisputeDetailsQuery ( id ) ;
3030 const dispute = data ?. dispute ;
31- const currentPeriodIndex = dispute ? Periods [ dispute . period ] : 0 ;
31+ const currentPeriodIndex = ( dispute ? Periods [ dispute . period ] : 0 ) as number ;
3232 const arbitrable = dispute ?. arbitrated . id as `0x${string } `;
3333
3434 return (
You can’t perform that action at this time.
0 commit comments