File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,7 @@ const StyledP = styled.p`
62
62
const StyledRadio = styled ( Radio ) `
63
63
align-self: center;
64
64
padding-left: 16px;
65
- > input {
66
- display: none;
67
- }
65
+
68
66
> span {
69
67
transform: translateY(-50%);
70
68
}
Original file line number Diff line number Diff line change @@ -164,13 +164,15 @@ const BatchCreationCard: React.FC = () => {
164
164
< Info >
165
165
< Label > Total cost:</ Label >
166
166
< Value > { formatETH ( BigInt ( disputeData . arbitrationCost ?? 0 ) * BigInt ( localBatchSize ) ) } ETH </ Value >
167
- < Label >
168
- ~
169
- { formatUSD (
170
- Number ( formatUnitsWei ( BigInt ( disputeData . arbitrationCost ?? 0 ) * BigInt ( localBatchSize ) ) ) *
171
- ( coinPrice ?? 0 )
172
- ) }
173
- </ Label >
167
+ { ! isUndefined ( coinPrice ) ? (
168
+ < Label >
169
+ ~
170
+ { formatUSD (
171
+ Number ( formatUnitsWei ( BigInt ( disputeData . arbitrationCost ?? 0 ) * BigInt ( localBatchSize ) ) ) *
172
+ coinPrice
173
+ ) }
174
+ </ Label >
175
+ ) : null }
174
176
</ Info >
175
177
</ InfosContainer >
176
178
</ BottomContent >
You can’t perform that action at this time.
0 commit comments