Skip to content

Commit b5f7384

Browse files
committed
rules-of-hooks
1 parent 690b7fe commit b5f7384

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
@@ -97,7 +97,7 @@ class Bad extends React.Component {
9797
9898
function Bad() {
9999
try {
100-
// 🔴 Bad: inside try/catch/finally block (to fix, move it outside!)
100+
// 🔴 Kötü: try/catch/finally bloğu içinde (düzeltmek için dışarı taşıyın!)
101101
const [x, setX] = useState(0);
102102
} catch {
103103
const [x, setX] = useState(1);

0 commit comments

Comments
 (0)