Skip to content

Commit edab4e0

Browse files
committed
fix: remove unused transitionEnd function composition
1 parent e2f93d2 commit edab4e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ class ReactSimpleExpand extends Component {
6767
this.content = element
6868
}
6969

70-
getRootProps = ({ref, onTransitionEnd, ...props} = {}) =>
70+
getRootProps = ({ref, ...props} = {}) =>
7171
createGetter(props, {
72-
onTransitionEnd: composeFunctions(onTransitionEnd, this.onTransitionEnd),
7372
ref: composeFunctions(ref, this.rootRef),
7473
style: {
7574
overflow: 'hidden',

0 commit comments

Comments
 (0)