Skip to content

Commit b3c44c2

Browse files
zbcmxschmitt
authored andcommitted
fix(TabPane): wrong assigned Transition event(unmountOnExit)
1 parent 723fdb8 commit b3c44c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TabPane.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const TabPane = React.forwardRef((props, ref) => {
159159
onExiting={onExiting}
160160
onExited={onExited}
161161
mountOnEnter={mountOnEnter}
162-
unmountOnExit={mountOnEnter}
162+
unmountOnExit={unmountOnExit}
163163
>
164164
{pane}
165165
</Transition>

0 commit comments

Comments
 (0)