Skip to content

Commit

Permalink
Avoid calling getEventData() method twice
Browse files Browse the repository at this point in the history
Summary:
EZ diff that avoids calling getEventData() method twice

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D31076778

fbshipit-source-id: 63c2a469e8e684202dbdbbf12166487328685976
  • Loading branch information
mdvacca authored and facebook-github-bot committed Sep 21, 2021
1 parent fbb802c commit f8e4a78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void dispatchModernV2(RCTModernEventEmitter rctEventEmitter) {
getEventName(),
canCoalesce(),
getCoalescingKey(),
getEventData());
eventData);
return;
}
}
Expand Down

0 comments on commit f8e4a78

Please sign in to comment.