File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
web/src/pages/Cases/CaseDetails/Voting/VotesDetails Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,6 @@ const SecondaryTextLabel = styled.label`
9595 font-size: 16px;
9696` ;
9797
98- const StyledExternalLink = styled ( ExternalLink ) `
99- font-size: 16px;
100- ` ;
101-
10298const AccordionContent : React . FC < {
10399 choice ?: string ;
104100 answers : Answer [ ] ;
@@ -118,19 +114,17 @@ const AccordionContent: React.FC<{
118114 < SecondaryTextLabel > { getVoteChoice ( parseInt ( choice ) , answers ) } </ SecondaryTextLabel >
119115 </ div >
120116 ) }
121- { ! isUndefined ( timestamp ) && (
122- < div >
123- < StyledLabel > Date: </ StyledLabel >
124- < StyledExternalLink to = { transactionExplorerLink } rel = "noopener noreferrer" target = "_blank" >
125- { formatDate ( Number ( timestamp ) , true ) }
126- </ StyledExternalLink >
127- </ div >
128- ) }
117+
129118 { justification ? (
130119 < JustificationText > { justification } </ JustificationText >
131120 ) : (
132121 < SecondaryTextLabel > No justification provided</ SecondaryTextLabel >
133122 ) }
123+ { ! isUndefined ( timestamp ) && (
124+ < ExternalLink to = { transactionExplorerLink } rel = "noopener noreferrer" target = "_blank" >
125+ { formatDate ( Number ( timestamp ) , true ) }
126+ </ ExternalLink >
127+ ) }
134128 </ AccordionContentContainer >
135129 ) ;
136130} ;
You can’t perform that action at this time.
0 commit comments