Browse Source

[Beta] remove unnecessary parentheses and update quote content (#4983)

* [Beta] remove unused parentheses

* [Beta] change quote content

* [Beta] update quote content
main
zqran 2 years ago
committed by GitHub
parent
commit
41cde23ab0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      beta/src/pages/learn/conditional-rendering.md

4
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`"*.
<DeepDive title="Are these two examples fully equivalent?">
@ -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:

Loading…
Cancel
Save