Skip to content

Commit

Permalink
fix(TabPane): wrong assigned Transition event(unmountOnExit)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbc authored and mxschmitt committed Jun 10, 2019
1 parent 723fdb8 commit b3c44c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TabPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const TabPane = React.forwardRef((props, ref) => {
onExiting={onExiting}
onExited={onExited}
mountOnEnter={mountOnEnter}
unmountOnExit={mountOnEnter}
unmountOnExit={unmountOnExit}
>
{pane}
</Transition>
Expand Down

0 comments on commit b3c44c2

Please sign in to comment.