mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Cast MIN_GAS_LIMIT_DEC to number before passing to minimumGasLimit (#9636)
This commit is contained in:
parent
b1adc0d1e8
commit
d44c03b882
@ -23,7 +23,7 @@ export default class AdvancedGasInputs extends Component {
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
minimumGasLimit: MIN_GAS_LIMIT_DEC,
|
||||
minimumGasLimit: Number(MIN_GAS_LIMIT_DEC),
|
||||
}
|
||||
|
||||
constructor (props) {
|
||||
|
@ -76,7 +76,7 @@ const mapStateToProps = (state, ownProps) => {
|
||||
customTotalSupplement = '',
|
||||
extraInfoRow = null,
|
||||
useFastestButtons = false,
|
||||
minimumGasLimit = MIN_GAS_LIMIT_DEC,
|
||||
minimumGasLimit = Number(MIN_GAS_LIMIT_DEC),
|
||||
} = modalProps || {}
|
||||
const { transaction = {} } = ownProps
|
||||
const selectedTransaction = isSwap
|
||||
|
Loading…
Reference in New Issue
Block a user