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.
1 parent a1c885c commit d08eb28Copy full SHA for d08eb28
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