Skip to content

Commit

Permalink
Fixed inconcistency with surrounding punctuation (#18339)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ItsByteMe authored Mar 18, 2020
1 parent 94505b9 commit 5152c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5152c4a

Please sign in to comment.