Skip to content

Commit c6353b9

Browse files
author
Strek
authored
chore: fix typo (#4104)
1 parent 40c8cd2 commit c6353b9

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

beta/src/pages/learn/adding-interactivity.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const sculptureList = [{
181181
}, {
182182
name: 'Terracotta Army',
183183
artist: 'Unknown Artist',
184-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
184+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
185185
url: 'https://i.imgur.com/HMFmH6m.jpg',
186186
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
187187
}, {

beta/src/pages/learn/choosing-the-state-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ Notice how the event handlers are only concerned with calling `setItems` after t
23042304
23052305
### Fix the disappearing selection {/*fix-the-disappearing-selection*/}
23062306
2307-
There is a list of `letters` in state. When you hover or focus a particular letter, it gets highlighted. The currently highlighted letter is stored in the `highlightedLetter` state variable. You can "star" and "unstar" invidual letters, which updates the `letters` array in state.
2307+
There is a list of `letters` in state. When you hover or focus a particular letter, it gets highlighted. The currently highlighted letter is stored in the `highlightedLetter` state variable. You can "star" and "unstar" individual letters, which updates the `letters` array in state.
23082308
23092309
This code works, but there is a minor UI glitch. When you press "Star" or "Unstar", the highlighting disappears for a moment. However, it reappears as soon as you move your pointer or switch to another letter with keyboard. Why is this happening? Fix it so that the highlighting doesn't disappear after the button click.
23102310

beta/src/pages/learn/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export const sculptureList = [{
367367
}, {
368368
name: 'Terracotta Army',
369369
artist: 'Unknown Artist',
370-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
370+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
371371
url: 'https://i.imgur.com/HMFmH6m.jpg',
372372
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
373373
}, {

beta/src/pages/learn/rendering-lists.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Different sources of data provide different sources of keys:
401401

402402
Imagine that files on your desktop didn't have names. Instead, you'd refer to them by their order -- the first file, the second file, and so on. You could get used to it, but once you delete a file, it would get confusing. The second file would become the first file, the third file would be the second file, and so on.
403403

404-
File names in a folder and JSX keys in an array serve a similar purpose. They let us uniquely identify an item between its siblings. A well-chosen key provides more information than the position within the array. Even if the _position_ changes due to reordering, the `key` lets React identify the item througout its lifetime.
404+
File names in a folder and JSX keys in an array serve a similar purpose. They let us uniquely identify an item between its siblings. A well-chosen key provides more information than the position within the array. Even if the _position_ changes due to reordering, the `key` lets React identify the item throughout its lifetime.
405405

406406
<Gotcha>
407407

beta/src/pages/learn/state-a-components-memory.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const sculptureList = [{
110110
}, {
111111
name: 'Terracotta Army',
112112
artist: 'Unknown Artist',
113-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
113+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
114114
url: 'https://i.imgur.com/HMFmH6m.jpg',
115115
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
116116
}, {
@@ -290,7 +290,7 @@ export const sculptureList = [{
290290
}, {
291291
name: 'Terracotta Army',
292292
artist: 'Unknown Artist',
293-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
293+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
294294
url: 'https://i.imgur.com/HMFmH6m.jpg',
295295
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
296296
}, {
@@ -475,7 +475,7 @@ export const sculptureList = [{
475475
}, {
476476
name: 'Terracotta Army',
477477
artist: 'Unknown Artist',
478-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
478+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
479479
url: 'https://i.imgur.com/HMFmH6m.jpg',
480480
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
481481
}, {
@@ -669,7 +669,7 @@ let sculptureList = [{
669669
}, {
670670
name: 'Terracotta Army',
671671
artist: 'Unknown Artist',
672-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
672+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
673673
url: 'https://i.imgur.com/HMFmH6m.jpg',
674674
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
675675
}, {
@@ -838,7 +838,7 @@ export const sculptureList = [{
838838
}, {
839839
name: 'Terracotta Army',
840840
artist: 'Unknown Artist',
841-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
841+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
842842
url: 'https://i.imgur.com/HMFmH6m.jpg',
843843
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
844844
}, {
@@ -1009,7 +1009,7 @@ export const sculptureList = [{
10091009
}, {
10101010
name: 'Terracotta Army',
10111011
artist: 'Unknown Artist',
1012-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1012+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
10131013
url: 'https://i.imgur.com/HMFmH6m.jpg',
10141014
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
10151015
}, {
@@ -1171,7 +1171,7 @@ export const sculptureList = [{
11711171
}, {
11721172
name: 'Terracotta Army',
11731173
artist: 'Unknown Artist',
1174-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1174+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
11751175
url: 'https://i.imgur.com/HMFmH6m.jpg',
11761176
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
11771177
}, {

beta/src/pages/reference/usestate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export const sculptureList = [{
341341
}, {
342342
name: 'Terracotta Army',
343343
artist: 'Unknown Artist',
344-
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
344+
description: 'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
345345
url: 'https://i.imgur.com/HMFmH6m.jpg',
346346
alt: '12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
347347
}, {

0 commit comments

Comments
 (0)