Skip to content

Commit 37ffccc

Browse files
authored
Fixed language error (#4701)
"them" word was missing
1 parent 2d374f8 commit 37ffccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beta/src/pages/learn/updating-arrays-in-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Updating Arrays in State
44

55
<Intro>
66

7-
Arrays are mutable in JavaScript, but you should treat as immutable when you store them in state. Just like with objects, when you want to update an array stored in state, you need to create a new one (or make a copy of an existing one), and then set state to use the new array.
7+
Arrays are mutable in JavaScript, but you should treat them as immutable when you store them in state. Just like with objects, when you want to update an array stored in state, you need to create a new one (or make a copy of an existing one), and then set state to use the new array.
88

99
</Intro>
1010

0 commit comments

Comments
 (0)