From b113f83071760deba2debc1076cae0ef7d6e124d Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 14 Jun 2022 02:26:35 +0100 Subject: [PATCH] Add missing part to the example --- beta/src/pages/learn/synchronizing-with-effects.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/beta/src/pages/learn/synchronizing-with-effects.md b/beta/src/pages/learn/synchronizing-with-effects.md index b64a50e6..4bb653ba 100644 --- a/beta/src/pages/learn/synchronizing-with-effects.md +++ b/beta/src/pages/learn/synchronizing-with-effects.md @@ -1021,7 +1021,14 @@ export default function Form() { onChange={e => setName(e.target.value)} /> - +

Hello, {upper ? name.toUpperCase() : name}

)}