File tree 1 file changed +6
-12
lines changed
web/src/pages/Cases/CaseDetails/Voting/VotesDetails
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`
95
95
font-size: 16px;
96
96
` ;
97
97
98
- const StyledExternalLink = styled ( ExternalLink ) `
99
- font-size: 16px;
100
- ` ;
101
-
102
98
const AccordionContent : React . FC < {
103
99
choice ?: string ;
104
100
answers : Answer [ ] ;
@@ -118,19 +114,17 @@ const AccordionContent: React.FC<{
118
114
< SecondaryTextLabel > { getVoteChoice ( parseInt ( choice ) , answers ) } </ SecondaryTextLabel >
119
115
</ div >
120
116
) }
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
+
129
118
{ justification ? (
130
119
< JustificationText > { justification } </ JustificationText >
131
120
) : (
132
121
< SecondaryTextLabel > No justification provided</ SecondaryTextLabel >
133
122
) }
123
+ { ! isUndefined ( timestamp ) && (
124
+ < ExternalLink to = { transactionExplorerLink } rel = "noopener noreferrer" target = "_blank" >
125
+ { formatDate ( Number ( timestamp ) , true ) }
126
+ </ ExternalLink >
127
+ ) }
134
128
</ AccordionContentContainer >
135
129
) ;
136
130
} ;
You can’t perform that action at this time.
0 commit comments