Skip to content

Commit

Permalink
refactor: remove unnecessary return statements (#19625)
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored Aug 19, 2020
1 parent c45a195 commit 32ca313
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 32ca313

Please sign in to comment.