Skip to content

Commit

Permalink
Merge 2a1aece into 095f518
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed May 4, 2018
2 parents 095f518 + 2a1aece commit 35d113e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Nav.js
Expand Up @@ -73,7 +73,7 @@ class Nav extends React.Component<Props> {
const hasWaterline = appearance !== 'default';

const items = ReactChildren.mapCloneElement(children, item => {
let { eventKey, active, placement, ...rest } = item.props;
let { eventKey, active, ...rest } = item.props;
let displayName = _.get(item, ['type', 'displayName']);

if (displayName === 'NavItem') {
Expand All @@ -88,8 +88,7 @@ class Nav extends React.Component<Props> {
...rest,
onSelect,
activeKey,
componentClass: 'li',
placement: sidenav ? 'rightBottom' : placement
componentClass: 'li'
};
}

Expand Down

0 comments on commit 35d113e

Please sign in to comment.