Skip to content

Commit

Permalink
Merge pull request #1494 from piperchester/patch-2
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ljharb committed Oct 23, 2017
2 parents 952da85 + 9687670 commit 06f93e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-stateless-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Foo extends React.Component {

When `true` the rule will ignore Components extending from `React.PureComponent` that use `this.props` or `this.context`.

The following patterns is considered okay and does not cause warnings:
The following pattern is considered okay and does not cause warnings:

```jsx
class Foo extends React.PureComponent {
Expand Down

0 comments on commit 06f93e2

Please sign in to comment.