mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix typo
Resets currentTarget on the pooled event instead of adding an expando.
This commit is contained in:
@@ -206,7 +206,7 @@ function executeDirectDispatch(event) {
|
||||
);
|
||||
event.currentTarget = EventPluginUtils.getNodeFromInstance(dispatchInstance);
|
||||
var res = dispatchListener ? dispatchListener(event) : null;
|
||||
event.curentTarget = null;
|
||||
event.currentTarget = null;
|
||||
event._dispatchListeners = null;
|
||||
event._dispatchInstances = null;
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user