File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
web/src/pages/Cases/CaseDetails/Voting Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ const StyledAccordion = styled(Accordion)`
4343 }
4444` ;
4545
46+ const Icon : React . FC < { seed : number } > = React . memo ( ( { seed } ) => < Jazzicon diameter = { 24 } seed = { seed } /> ) ;
47+
4648const AccordionContent : React . FC < {
4749 choice : string ;
4850 justification : string ;
@@ -108,7 +110,7 @@ const VotingHistory: React.FC<{ arbitrable?: string }> = ({ arbitrable }) => {
108110 items = {
109111 localRounds . at ( currentTab ) ?. votes . map ( ( vote ) => ( {
110112 title : shortenAddress ( vote . juror . id ) ,
111- Icon : ( ) => < Jazzicon diameter = { 24 } seed = { jsNumberForAddress ( vote . juror . id ) } /> ,
113+ Icon : ( ) => < Icon seed = { jsNumberForAddress ( vote . juror . id ) } /> ,
112114 body : (
113115 < AccordionContent
114116 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