From badf7bb0949280d543b6928ee1d942eb5a2073f9 Mon Sep 17 00:00:00 2001 From: Deni Pencl Date: Sat, 12 Jan 2019 17:38:19 +0100 Subject: [PATCH] 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. --- guide/english/react/state-vs-props/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/english/react/state-vs-props/index.md b/guide/english/react/state-vs-props/index.md index 2cff6b152b..cf22f0a3ee 100644 --- a/guide/english/react/state-vs-props/index.md +++ b/guide/english/react/state-vs-props/index.md @@ -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) }