Skip to content

Commit f06db3d

Browse files
author
Ev Haus
committed
Minor documentation fix
Minor doc fix in no-access-state-in-set state rule to make it consistent with the others.
1 parent e2ca690 commit f06db3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-access-state-in-setstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prevent using this.state within a this.setState (no-access-state-in-setstate)
1+
# Prevent using this.state within a this.setState (react/no-access-state-in-setstate)
22

33
This rule should prevent usage of `this.state` inside `setState` calls.
44
Such usage of `this.state` might result in errors when two state calls are

0 commit comments

Comments
 (0)