Skip to content

Commit d253dc0

Browse files
Update src/content/reference/rules/react-calls-components-and-hooks.md
1 parent f4bf671 commit d253dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/reference/rules/react-calls-components-and-hooks.md

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function Button() {
9393

9494
function useDataWithLogging() {
9595
// 如果有任何条件逻辑需要改变 Hook 的行为,应将其直接内联到 Hook 中
96+
9697
}
9798
```
9899

0 commit comments

Comments
 (0)