Commit 6b8665e7 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

fix onTabChange error

parent ff777711
...@@ -28,7 +28,7 @@ export default class NoticeIcon extends PureComponent { ...@@ -28,7 +28,7 @@ export default class NoticeIcon extends PureComponent {
}; };
onTabChange = tabType => { onTabChange = tabType => {
const onTabChange = this.props; 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