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

* [Beta] remove unused parentheses

* [Beta] change quote content

* [Beta] update quote content
This commit is contained in:
zqran
2022-09-05 20:18:41 +08:00
committed by GitHub
parent e9faee62db
commit 41cde23ab0

View File

@@ -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: