Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle zero nextNonce in ConfirmTransactionBase placeholder #8618

Merged

Conversation

whymarrh
Copy link
Contributor

This PR updates how we render the next nonce in on the confirm screen—we now show 0 instead of an empty nonce field when the user has enabled custom nonce editing.

The PropType set in the component is PropTypes.number so this check is more semantically correct as well.

@whymarrh whymarrh requested a review from a team as a code owner May 18, 2020 23:07
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@whymarrh whymarrh merged commit 1ba65d5 into MetaMask:develop May 18, 2020
@whymarrh whymarrh deleted the ConfirmTransactionBase-placeholder branch May 18, 2020 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants