Skip to content

Commit 967bf1f

Browse files
author
harish-sethuraman
authored
Update doc (#4077)
1 parent 85e1c32 commit 967bf1f

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
@@ -152,7 +152,7 @@ setArtists([
152152
]);
153153
```
154154

155-
In this way, spread can do the job of both `push()` by adding to the beginning of an array and `unshift()` by adding to the end of an array. Try it in the sandbox above!
155+
In this way, spread can do the job of both `push()` by adding to the end of an array and `unshift()` by adding to the beginning of an array. Try it in the sandbox above!
156156

157157
### Removing from an array
158158

0 commit comments

Comments
 (0)