Skip to content

Commit

Permalink
refactor: remove unnecessary return statements (facebook#19625)
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored and koto committed Jun 15, 2021
1 parent 8ad04b2 commit 92226ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/react-dom/src/events/plugins/SelectEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ function extractEvents(
case 'keyup':
constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);
}

return;
}

export {registerEvents, extractEvents};
1 change: 0 additions & 1 deletion packages/react-dom/src/events/plugins/SimpleEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ function extractEvents(
accumulateTargetOnly,
);
}
return event;
}

export {registerSimpleEvents as registerEvents, extractEvents};

0 comments on commit 92226ac

Please sign in to comment.