Skip to content

Commit

Permalink
Fixed #448
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed Jun 19, 2018
1 parent 3df8c03 commit 68e5e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class Accordion extends Component {
this.setState({activeIndex: i});
}

let callback = selected ? this.props.onTabOpen : this.props.onTabClose;
let callback = selected ? this.props.onTabClose : this.props.onTabOpen;
if(callback) {
callback({originalEvent: event, index: i});
}
Expand Down

0 comments on commit 68e5e60

Please sign in to comment.