diff --git a/src/components/accordion/Accordion.js b/src/components/accordion/Accordion.js index ae0ccfe1ca..e2ae2d5696 100644 --- a/src/components/accordion/Accordion.js +++ b/src/components/accordion/Accordion.js @@ -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}); }