Removed redundant grave accent character from Component API docs
Daniel Hejl committed
May 2, 2015 at 22:22 UTC
f81d52b854d87a4dc78cf9b60073389597e631a2
1 file changed
+1
-1
docs/docs/ref-02-component-api.md
+1
-1
@@ -31,7 +31,7 @@ It's also possible to pass a function with the signature `function(state, props)
31
```javascript
32
setState(function(previousState, currentProps) {
33
return {myInteger: previousState.myInteger + 1};
34
-});`
34
+});
35
```
36
37
The second (optional) parameter is a callback function that will be executed once `setState` is completed and the component is re-rendered.