We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f0142a + d08eb28 commit b0f13e9Copy full SHA for b0f13e9
src/content/reference/rules/rules-of-hooks.md
@@ -129,7 +129,7 @@ function FriendList() {
129
const [onlineStatus, setOnlineStatus] = useOnlineStatus(); // ✅
130
}
131
132
-function setOnlineStatus() { // ❌ Not a component or custom Hook!
+function setOnlineStatus() { // ❌ 没有组件或自定义 Hook!
133
const [onlineStatus, setOnlineStatus] = useOnlineStatus();
134
135
```
0 commit comments