Skip to content

Commit a55f711

Browse files
authored
Docs: Add comment tranalse in /reference/rules/rules-of-hooks
1 parent a1c885c commit a55f711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/rules/rules-of-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function FriendList() {
129129
const [onlineStatus, setOnlineStatus] = useOnlineStatus(); //
130130
}
131131

132-
function setOnlineStatus() { //Not a component or custom Hook!
132+
function setOnlineStatus() { //不是一个组件或自定义 Hook
133133
const [onlineStatus, setOnlineStatus] = useOnlineStatus();
134134
}
135135
```

0 commit comments

Comments
 (0)