Skip to content

Commit 4be33b8

Browse files
authored
Change "return statement" to "return keyword" (#4137)
1 parent 466809e commit 4be33b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beta/src/pages/learn/your-first-component.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Return statements can be written all on one line, as in this component:
102102
return <img src="https://i.imgur.com/MK3eW3As.jpg" alt="Katherine Johnson" />;
103103
```
104104

105-
But if your markup isn't all on the same line as the return statement, you must wrap it in a pair of parentheses like this:
105+
But if your markup isn't all on the same line as the `return` keyword, you must wrap it in a pair of parentheses like this:
106106

107107
```js
108108
return (

0 commit comments

Comments
 (0)