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:
ItsByteMe
2020-03-18 17:10:32 +00:00
committed by GitHub
parent 94505b9613
commit 5152c4a9fd
+1 -1
View File
@@ -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