@samitouri / QOS-React / commits / 5152c4a9fd

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.

ItsByteMe committed Mar 18, 2020 at 13:10 UTC 5152c4a9fd97e70fe77a8ade69af66445e39efe1
1 file changed +1 -1
packages/react/src/block.js
+1 -1
@@ -96,7 +96,7 @@ export default function block<Args: Iterable<any>, Props, Data>(
96 );
97 } else if (render.length !== 0 && render.length !== 2) {
98 // Warn if it's not accepting two args.
99 - // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
99 + // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object.
100 console.error(
101 'Block render functions accept exactly two parameters: props and data. %s',
102 render.length === 1