Skip to content

Commit

Permalink
docs(cn): fix incorrect symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
ni00 authored Mar 11, 2024
1 parent 7d669b7 commit bf3df7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/learn/conditional-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export default function PackingList() {
* 你可以选择性地将一些 JSX 赋值给变量,然后用大括号将其嵌入到其他 JSX 中。
* 在 JSX 中,`{cond ? <A /> : <B />}` 表示 *“当 `cond` 为真值时, 渲染 `<A />`,否则 `<B />`*
* 在 JSX 中,`{cond && <A />}` 表示 *“当 `cond` 为真值时, 渲染 `<A />`,否则不进行渲染”*
* 快捷的表达式很常见,但如果你更倾向于使用 `if`,你也可以不使用它们
* 快捷的表达式很常见,但如果你更倾向于使用 `if`,你也可以不使用它们。

</Recap>

Expand Down

0 comments on commit bf3df7f

Please sign in to comment.