-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dragging): Pooled events to reuse inside setState.
In a previous refactor, the setState methods were changed to use the prevState prop, but this lost the event received on the function, so the needed properties were desesctructured from the original event so it can be used inside the setState. No breaking changes
- Loading branch information
1 parent
46d2de8
commit 60729c6
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters