style: update code style to please lint

This commit is contained in:
Benjy Cui 2017-03-27 11:00:11 +08:00
parent 5a827f174e
commit 8409cff8db
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ export default class Tabs extends React.Component<TabsProps, any> {
animated,
} = this.props;
let {inkBarAnimated, tabPaneAnimated} = typeof animated === 'object' ? {
let { inkBarAnimated, tabPaneAnimated } = typeof animated === 'object' ? {
inkBarAnimated: animated.inkBar, tabPaneAnimated: animated.tabPane,
} : {
inkBarAnimated: animated, tabPaneAnimated: animated,

View File

@ -106,7 +106,7 @@ export default class Tree extends React.Component<TreeProps, any> {
<RcTree
{...props}
className={classString}
checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable }
checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable}
>
{this.props.children}
</RcTree>