From b2611b0de268228ee92b94ff56910f610f0fdc4f Mon Sep 17 00:00:00 2001 From: Daniel Hejl Date: Sat, 2 May 2015 22:22:20 -0700 Subject: [PATCH] Removed redundant grave accent character from Component API docs --- docs/ref-02-component-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref-02-component-api.md b/docs/ref-02-component-api.md index 31b08b0b..2422d0c6 100644 --- a/docs/ref-02-component-api.md +++ b/docs/ref-02-component-api.md @@ -31,7 +31,7 @@ It's also possible to pass a function with the signature `function(state, props) ```javascript setState(function(previousState, currentProps) { 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.