diff --git a/docs/introducing-jsx.md b/docs/introducing-jsx.md index d05f1575..56e7b98e 100644 --- a/docs/introducing-jsx.md +++ b/docs/introducing-jsx.md @@ -59,7 +59,7 @@ This means that you can use JSX inside of `if` statements and `for` loops, assig ```js{3,5} function getGreeting(user) { if (user) { - return

Hello, {formatName(user.name)}!

; + return

Hello, {formatName(user)}!

; } else { return

Hello, Stranger.

; }