Skip to content

Commit d8800be

Browse files
authored
chore: fix typos (#4121)
1 parent c6353b9 commit d8800be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: beta/src/pages/learn/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ img { margin: 0 10px 10px 0; height: 90px; }
178178

179179
You might wonder why `className="avatar"` uses quotes but `src={imageUrl}` uses curly braces. In JSX, curly braces are like a ["window into JavaScript"](/learn/javascript-in-jsx-with-curly-braces). They let you run a bit of JavaScript right in your markup! So `src={imageUrl}` reads the `imageUrl` prop declared on the first line and passed from the parent `Gallery` component.
180180

181-
In the above example, all the data was written directly in markup. However, you'll often want to keep it separately. Here, the data is kept in an array. In React, you use JavaScript functions like [`map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) to [renders lists](/learn/rendering-lists) of things.
181+
In the above example, all the data was written directly in markup. However, you'll often want to keep it separately. Here, the data is kept in an array. In React, you use JavaScript functions like [`map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) to [render lists](/learn/rendering-lists) of things.
182182

183183
<Sandpack>
184184

@@ -708,7 +708,7 @@ Read **[Managing State](/learn/managing-state)** to learn how to keep your compo
708708
709709
## Next steps {/*next-steps*/}
710710
711-
This page was fast-paced! If you've read this far, you have already seen 80% of React you will use on daily basis.
711+
This page was fast-paced! If you've read this far, you have already seen 80% of React you will use on a daily basis.
712712

713713
Your next steps depend on what you'd like to do:
714714

0 commit comments

Comments
 (0)