Skip to content

Commit

Permalink
chore: fix typo in comment (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Mar 21, 2022
1 parent 26dbc45 commit 7a36ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/edit/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function commitInput(
// and if they change state of a controlled value, nothing happens.
// But when we trigger the event handlers in test environment,
// the changes are rolled back by React before the state update is applied.
// Then the updated state is applied which results in a resetted cursor.
// Then the updated state is applied which results in a reset cursor.
// There is probably a better way to work around if we figure out
// why the batched update is executed differently in our test environment.
startTrackValue(element)
Expand Down

0 comments on commit 7a36ca8

Please sign in to comment.