parent
0784138082
commit
b5575618c2
|
@ -41,7 +41,7 @@ const factory = (Tab, TabContent) => {
|
|||
}
|
||||
|
||||
handleHeaderClick = (event) => {
|
||||
const idx = parseInt(event.target.id);
|
||||
const idx = parseInt(event.currentTarget.id);
|
||||
if (this.props.onChange) this.props.onChange(idx);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue