File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
web/src/pages/Cases/CaseDetails Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,11 @@ const Overview: React.FC<{ arbitrable?: string; courtID?: string }> = ({ arbitra
8181 return (
8282 < >
8383 < Container >
84- < h1 > { disputeTemplate ?. title } </ h1 >
84+ < h1 >
85+ { disputeTemplate
86+ ? disputeTemplate ?. title
87+ : "The dispute's template is not correct please vote refuse to arbitrate" }
88+ </ h1 >
8589 < QuestionAndDescription >
8690 < h3 > { disputeTemplate ?. question } </ h3 >
8791 < p > { disputeTemplate ?. description } </ p >
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ const StyledAccordion = styled(Accordion)`
4343 }
4444` ;
4545
46- const Icon : React . FC < { seed : number } > = ( { seed } ) => < Jazzicon diameter = { 24 } seed = { seed } /> ;
47-
4846const AccordionContent : React . FC < {
4947 choice : string ;
5048 justification : string ;
@@ -110,7 +108,7 @@ const VotingHistory: React.FC<{ arbitrable?: string }> = ({ arbitrable }) => {
110108 items = {
111109 localRounds . at ( currentTab ) ?. votes . map ( ( vote ) => ( {
112110 title : shortenAddress ( vote . juror . id ) ,
113- Icon : ( ) => < Icon seed = { jsNumberForAddress ( vote . juror . id ) } /> ,
111+ Icon : < Jazzicon diameter = { 24 } seed = { jsNumberForAddress ( vote . juror . id ) } /> ,
114112 body : (
115113 < AccordionContent
116114 choice = { vote . choice === 0 ? "Refuse to arbitrate" : disputeTemplate . answers [ vote . choice - 1 ] . title }
You can’t perform that action at this time.
0 commit comments