diff --git a/src/components/PageHeader/index.js b/src/components/PageHeader/index.js index 8afc10247f1909a6f952659e645c5bf8b05278f8..59d56fc527cb15dcd7193f13ff1a81747283f678 100644 --- a/src/components/PageHeader/index.js +++ b/src/components/PageHeader/index.js @@ -221,17 +221,16 @@ export default class PageHeader extends PureComponent { - {tabList && - tabList.length && ( - - {tabList.map(item => )} - - )} + {(tabList && tabList.length) ? ( + + {tabList.map(item => )} + + ) : null} ); }