Fix syntax errors in Person.js example (#32236)

The state object was missing the closing curly brace and the button for growing older wasn't properly closed.
This commit is contained in:
Deni Pencl
2019-01-12 17:38:19 +01:00
committed by Christopher McCormack
parent bcbf14a25e
commit badf7bb094

View File

@ -24,6 +24,7 @@ See the below example to get an idea of state:
super(props);
this.state = {
age:0
}
this.incrementAge = this.incrementAge.bind(this)
}