reactjs / react.dev

The React documentation website
https://react.dev/
Creative Commons Attribution 4.0 International
10.97k stars 7.49k forks source link

[Typo]: Minor typo in Updating Objects in State #7076

Open Victor-M-Giraldo opened 1 month ago

Victor-M-Giraldo commented 1 month ago

Summary

In the deep dive under the "Using a single event handler for multiple fields" it says "...1" when it should be "... a dynamic name"

Page

https://react.dev/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax

Details

The word "a" before "dynamic" is necessary to make the phrase grammatically correct.

Rekl0w commented 1 month ago

PR submitted.