react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Typo]: Minor typo in Updating Objects in State

Open Victor-M-Giraldo opened this issue 1 year ago • 1 comments
trafficstars

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.

Victor-M-Giraldo avatar Jul 23 '24 03:07 Victor-M-Giraldo

PR submitted.

Rekl0w avatar Jul 23 '24 05:07 Rekl0w

Closing as the fixing PR was already merged.

@Rekl0w, for the next time please use the GitHub keywords: fixes #1234, closes #1234, so that the PR is correctly (and automatically) linked to the issue and will automatically close it when merged.

BartoszKlonowski avatar Oct 18 '24 13:10 BartoszKlonowski

@BartoszKlonowski Thanks for the info.

Rekl0w avatar Oct 18 '24 13:10 Rekl0w