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 f6e1413 + e0834a6 commit b48c8faCopy full SHA for b48c8fa
src/content/reference/rules/rules-of-hooks.md
@@ -129,7 +129,7 @@ function FriendList() {
129
const [onlineStatus, setOnlineStatus] = useOnlineStatus(); // ✅
130
}
131
132
-function setOnlineStatus() { // ❌ 没有组件或自定义 Hook!
+function setOnlineStatus() { // ❌ 不是一个组件或自定义 Hook!
133
const [onlineStatus, setOnlineStatus] = useOnlineStatus();
134
135
```
0 commit comments