Skip to content

Commit 6b49fe8

Browse files
authored
Incorrect apostrophe used in error message
1 parent 365849c commit 6b49fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/jsx-no-useless-fragment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function containsCallExpression(node) {
7979
}
8080

8181
const messages = {
82-
NeedsMoreChildren: 'Fragments should contain more than one child - otherwise, theres no need for a Fragment at all.',
82+
NeedsMoreChildren: 'Fragments should contain more than one child - otherwise, there\'s no need for a Fragment at all.',
8383
ChildOfHtmlElement: 'Passing a fragment to an HTML element is useless.',
8484
};
8585

0 commit comments

Comments
 (0)