Skip to content

Commit

Permalink
fix: Add the missing blank lines in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nkevi committed Sep 26, 2024
1 parent d60c46d commit ae88513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/learn/synchronizing-with-effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,7 @@ body {
</Sandpack>
要验证你的方法是否奏效,请点击“展示表单”,并确认输入框获得焦点(高亮显示并且光标位于内部);再次点击“隐藏表单”和“展示表单”,确认输入框是否再次被高亮显示。
`MyInput` 组件应该只在 **挂载** 时获得焦点,而非每次渲染后。为了验证这一行为是否正确,点击“展示表单”,然后反复点击“大写”的复选框。点击复选框时,上方的输入框不应该获得焦点。
Expand Down

0 comments on commit ae88513

Please sign in to comment.