From 5152c4a9fd97e70fe77a8ade69af66445e39efe1 Mon Sep 17 00:00:00 2001 From: ItsByteMe <39222138+ItsByteMe@users.noreply.github.com> Date: Wed, 18 Mar 2020 13:10:32 -0400 Subject: [PATCH] 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. --- packages/react/src/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/block.js b/packages/react/src/block.js index f180604a5c..a16dc1e68c 100644 --- a/packages/react/src/block.js +++ b/packages/react/src/block.js @@ -96,7 +96,7 @@ export default function block, 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