Commit 794697bb authored by afc163's avatar afc163

fix typo

parent e2cb8b09
......@@ -29,12 +29,13 @@ class LoginTab extends Component {
}
}
const warpContext = props => (
const wrapContext = props => (
<LoginContext.Consumer>
{value => <LoginTab tabUtil={value.tabUtil} {...props} />}
</LoginContext.Consumer>
);
// 标志位 用来判断是不是自定义组件
warpContext.typeName = 'LoginTab';
wrapContext.typeName = 'LoginTab';
export default warpContext;
export default wrapContext;
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