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`
6262const StyledRadio = styled ( Radio ) `
6363 align-self: center;
6464 padding-left: 16px;
65- > input {
66- display: none;
67- }
65+
6866 > span {
6967 transform: translateY(-50%);
7068 }
Original file line number Diff line number Diff line change @@ -164,13 +164,15 @@ const BatchCreationCard: React.FC = () => {
164164 < Info >
165165 < Label > Total cost:</ Label >
166166 < 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 }
174176 </ Info >
175177 </ InfosContainer >
176178 </ BottomContent >
You can’t perform that action at this time.
0 commit comments