mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Fixed inconcistency with surrounding punctuation (#18339)
There was an inconsistency present on line 99 regarding the punctuation of the comment, all other comments found end in a period and this line had it's period omitted.
This commit is contained in:
1 parent
94505b9613
commit
5152c4a9fd
1 file changed
+1
-1
@@ -96,7 +96,7 @@ export default function block<Args: Iterable<any>, Props, Data>(
|
||||
);
|
||||
} else if (render.length !== 0 && render.length !== 2) {
|
||||
// Warn if it's not accepting two args.
|
||||
// Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
|
||||
// Do not warn for 0 arguments because it could be due to usage of the 'arguments' object.
|
||||
console.error(
|
||||
'Block render functions accept exactly two parameters: props and data. %s',
|
||||
render.length === 1
|
||||
|
||||
Reference in new issue
Block a user