Skip to content

Commit 06f93e2

Browse files
authored
Merge pull request jsx-eslint#1494 from piperchester/patch-2
Fix typo
2 parents 952da85 + 9687670 commit 06f93e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/prefer-stateless-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Foo extends React.Component {
6666

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

69-
The following patterns is considered okay and does not cause warnings:
69+
The following pattern is considered okay and does not cause warnings:
7070

7171
```jsx
7272
class Foo extends React.PureComponent {

0 commit comments

Comments
 (0)