Skip to content

Commit 3bbd7fb

Browse files
committed
rules-of-hooks
1 parent 9f19007 commit 3bbd7fb

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
@@ -72,7 +72,7 @@ function Bad({ cond }) {
7272
7373
function Bad() {
7474
function handleClick() {
75-
// 🔴 Bad: inside an event handler (to fix, move it outside!)
75+
// 🔴 Kötü: bir olay işleyicisinin içinde (düzeltmek için dışarı taşıyın!)
7676
const theme = useContext(ThemeContext);
7777
}
7878
// ...

0 commit comments

Comments
 (0)