mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +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:
@@ -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