diff --git a/docs/rules/no-string-refs.md b/docs/rules/no-string-refs.md index d6efc4b6b2..ebcd9c9189 100644 --- a/docs/rules/no-string-refs.md +++ b/docs/rules/no-string-refs.md @@ -35,7 +35,7 @@ var Hello = React.createClass({ // ...do something with component }, render() { - return
this.hello = c}>Hello, world.
; + return
{ this.hello = c; }}>Hello, world.
; } }); ```