Skip to content

Commit 618e9d5

Browse files
committed
Corrected typo in example.
1 parent 0685771 commit 618e9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Form extends React.Component {
5757
<textarea type="text" name="bio" onChange={this.inputHandler} />
5858

5959
<label> Are you a developer?</label>
60-
<input type="checkbox" name="developer" value="yes" />
60+
<input type="checkbox" name="developer" value="yes" onChange={this.inputHandler} />
6161

6262
<button onClick={this.handleSubmit}>Submit</button>
6363
</form>

0 commit comments

Comments
 (0)