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

onTabChange fixed

parent 6984ac05
...@@ -37,7 +37,7 @@ export default class NoticeIcon extends PureComponent { ...@@ -37,7 +37,7 @@ export default class NoticeIcon extends PureComponent {
onTabChange = tabType => { onTabChange = tabType => {
this.setState({ tabType }); this.setState({ tabType });
const { onTabChange } = this.state; const { onTabChange } = this.props;
onTabChange(tabType); 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