A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React, { PureComponent } from 'react'
|
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
import CurrencyDisplay from '../../../currency-display'
|
|
|
|
import { ETH } from '../../../../constants/common'
|
|
|
|
|
|
|
|
export default class CancelTransaction extends PureComponent {
|
|
|
|
static propTypes = {
|
|
|
|
value: PropTypes.string,
|
|
|
|
}
|
|
|
|
|
|
|
|
render () {
|
|
|
|
const { value } = this.props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="cancel-transaction-gas-fee">
|
|
|
|
<CurrencyDisplay
|
|
|
|
className="cancel-transaction-gas-fee__eth"
|
|
|
|
currency={ETH}
|
|
|
|
value={value}
|
|
|
|
numberOfDecimals={6}
|
|
|
|
/>
|
|
|
|
<CurrencyDisplay
|
|
|
|
className="cancel-transaction-gas-fee__fiat"
|
|
|
|
value={value}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|