From a42adb28e2161f1fd3714cad6e9b6f21b411787e Mon Sep 17 00:00:00 2001 From: Inder Singh Date: Sat, 9 Dec 2017 16:26:01 +0530 Subject: [PATCH] Fixing typo parens -> Parentheses (#406) --- content/tutorial/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorial/tutorial.md b/content/tutorial/tutorial.md index 275985909..66c3562aa 100644 --- a/content/tutorial/tutorial.md +++ b/content/tutorial/tutorial.md @@ -377,7 +377,7 @@ The usual pattern here is pass down a function from Board to Square that gets ca } ``` -We split the returned element into multiple lines for readability, and added parens around it so that JavaScript doesn't insert a semicolon after `return` and break our code. +We split the returned element into multiple lines for readability, and added parentheses around it so that JavaScript doesn't insert a semicolon after `return` and break our code. Now we're passing down two props from Board to Square: `value` and `onClick`. The latter is a function that Square can call. Let's make the following changes to Square: