From 1963f891422006bc560b43bdca629af8d9b20a57 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Thu, 12 Apr 2018 12:37:22 -0400 Subject: [PATCH] Update ReactBasics.md --- ReactBasics.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ReactBasics.md b/ReactBasics.md index 7d6e357..2d9aa34 100755 --- a/ReactBasics.md +++ b/ReactBasics.md @@ -135,13 +135,13 @@ ReactDOM.render( JSX can be split onto multiple lines: ```JavaScript -const formatLocation = function(location){ - return location + "!!" +const formatUser = function(user){ + return user + "!!" } -const location = "Matt"; +const user = "Matt"; const myJSX =
-

Hello, {formatLocation(location)}

+

Hello, {formatUser(user)}

Welcome to the app