From 41cde23ab06989ccf1d6cb2835d9675ff72a1307 Mon Sep 17 00:00:00 2001 From: zqran Date: Mon, 5 Sep 2022 20:18:41 +0800 Subject: [PATCH] [Beta] remove unnecessary parentheses and update quote content (#4983) * [Beta] remove unused parentheses * [Beta] change quote content * [Beta] update quote content --- beta/src/pages/learn/conditional-rendering.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beta/src/pages/learn/conditional-rendering.md b/beta/src/pages/learn/conditional-rendering.md index cf36b318..17369050 100644 --- a/beta/src/pages/learn/conditional-rendering.md +++ b/beta/src/pages/learn/conditional-rendering.md @@ -202,7 +202,7 @@ return ( ); ``` -You can read it as *"if `isPacked` is true, then (`?`) render `name + ' ✔'`, otherwise (`:`) render `name`."*) +You can read it as *"if `isPacked` is true, then (`?`) render `name + ' ✔'`, otherwise (`:`) render `name`"*. @@ -268,7 +268,7 @@ return ( ); ``` -You can read this as *“if `isPacked`, then (`&&`) render the checkmark, otherwise, render nothing.”* +You can read this as *"if `isPacked`, then (`&&`) render the checkmark, otherwise, render nothing"*. Here it is in action: