Removed redundant grave accent character from Component API docs

This commit is contained in:
Daniel Hejl 2015-05-02 22:22:20 -07:00
parent 70e64ef099
commit f81d52b854
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ It's also possible to pass a function with the signature `function(state, props)
```javascript ```javascript
setState(function(previousState, currentProps) { setState(function(previousState, currentProps) {
return {myInteger: previousState.myInteger + 1}; return {myInteger: previousState.myInteger + 1};
});` });
``` ```
The second (optional) parameter is a callback function that will be executed once `setState` is completed and the component is re-rendered. The second (optional) parameter is a callback function that will be executed once `setState` is completed and the component is re-rendered.