Browse Source

Fix typo in updating-arrays-in-state.md

Thanks to Alex H for reporting.
main
Sophie Alpert 2 years ago
parent
commit
9f0f1c1ebf
  1. 2
      src/content/learn/updating-arrays-in-state.md

2
src/content/learn/updating-arrays-in-state.md

@ -562,7 +562,7 @@ setMyList(myList.map(artwork => {
// No changes // No changes
return artwork; return artwork;
} }
}); }));
``` ```
Here, `...` is the object spread syntax used to [create a copy of an object.](/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax) Here, `...` is the object spread syntax used to [create a copy of an object.](/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax)

Loading…
Cancel
Save