Skip to content

Commit 42f10d2

Browse files
committed
rules-of-hooks
1 parent 3bbd7fb commit 42f10d2

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
@@ -80,7 +80,7 @@ function Bad() {
8080
8181
function Bad() {
8282
const style = useMemo(() => {
83-
// 🔴 Bad: inside useMemo (to fix, move it outside!)
83+
// 🔴 Kötü: useMemo'nun içinde (düzeltmek için dışarı taşıyın!)
8484
const theme = useContext(ThemeContext);
8585
return createStyle(theme);
8686
});

0 commit comments

Comments
 (0)