Skip to content

Commit

Permalink
Minor documentation fix
Browse files Browse the repository at this point in the history
Minor doc fix in no-access-state-in-set state rule to make it consistent with the others.
  • Loading branch information
Ev Haus committed Nov 20, 2017
1 parent e2ca690 commit f06db3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-access-state-in-setstate.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Prevent using this.state within a this.setState (no-access-state-in-setstate)
# Prevent using this.state within a this.setState (react/no-access-state-in-setstate)

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

0 comments on commit f06db3d

Please sign in to comment.