Skip to content

Commit c316b04

Browse files
committed
rules-of-hooks
1 parent 8eb29c6 commit c316b04

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
@@ -117,7 +117,7 @@ Bu hataları yakalamak için [`eslint-plugin-react-hooks` eklentisini](https://w
117117

118118
## Hook'ları yalnızca React fonksiyonlarından çağırın {/*only-call-hooks-from-react-functions*/}
119119

120-
Don’t call Hooks from regular JavaScript functions. Instead, you can:
120+
Hook'ları normal JavaScript fonksiyonlarından çağırmayın. Bunun yerine şunları yapabilirsiniz:
121121

122122
✅ Call Hooks from React function components.
123123
✅ Call Hooks from [custom Hooks](/learn/reusing-logic-with-custom-hooks#extracting-your-own-custom-hook-from-a-component).

0 commit comments

Comments
 (0)