Skip to content

Fixes initial new post value always set to 1 #16

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

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

michael-caktus
Copy link
Contributor

Previously, the first time a user creates a post, the minutes value is recored as "1" whatever the input.

This commit addresses that bug by making sure that the submit function finds the correct form element.

Copy link
Member

@cassidoo cassidoo left a comment

Choose a reason for hiding this comment

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

Thanks so much for fixing this!!

@cassidoo cassidoo merged commit 28ce86a into ReactTraining:master Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants