Skip to content

Commit

Permalink
fix: remove unused transitionEnd function composition
Browse files Browse the repository at this point in the history
  • Loading branch information
rthor committed Apr 5, 2018
1 parent e2f93d2 commit edab4e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ class ReactSimpleExpand extends Component {
this.content = element
}

getRootProps = ({ref, onTransitionEnd, ...props} = {}) =>
getRootProps = ({ref, ...props} = {}) =>
createGetter(props, {
onTransitionEnd: composeFunctions(onTransitionEnd, this.onTransitionEnd),
ref: composeFunctions(ref, this.rootRef),
style: {
overflow: 'hidden',
Expand Down

0 comments on commit edab4e0

Please sign in to comment.