Commit 268e0ee5 authored by JoeyKo's avatar JoeyKo Committed by ι™ˆεΈ…

onTabChange fixed

parent 6984ac05
......@@ -37,7 +37,7 @@ export default class NoticeIcon extends PureComponent {
onTabChange = tabType => {
this.setState({ tabType });
const { onTabChange } = this.state;
const { onTabChange } = this.props;
onTabChange(tabType);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment