Skip to content

Commit

Permalink
doc: fix typo in updating-objects-in-state.md (#7077)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rekl0w authored Sep 30, 2024
1 parent d5aaa72 commit 589a1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/learn/updating-objects-in-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ Note that the `...` spread syntax is "shallow"--it only copies things one level

#### Using a single event handler for multiple fields {/*using-a-single-event-handler-for-multiple-fields*/}

You can also use the `[` and `]` braces inside your object definition to specify a property with dynamic name. Here is the same example, but with a single event handler instead of three different ones:
You can also use the `[` and `]` braces inside your object definition to specify a property with a dynamic name. Here is the same example, but with a single event handler instead of three different ones:

<Sandpack>

Expand Down

0 comments on commit 589a1d3

Please sign in to comment.