mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Handle zero nextNonce in ConfirmTransactionBase placeholder (#8618)
This commit is contained in:
parent
e4b8cddf02
commit
1ba65d5128
@ -288,7 +288,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
<TextField
|
||||
type="number"
|
||||
min="0"
|
||||
placeholder={ nextNonce ? nextNonce.toString() : null }
|
||||
placeholder={ typeof nextNonce === 'number' ? nextNonce.toString() : null }
|
||||
onChange={({ target: { value } }) => {
|
||||
if (!value.length || Number(value) < 0) {
|
||||
updateCustomNonce('')
|
||||
|
Loading…
Reference in New Issue
Block a user