Skip to content

Commit

Permalink
remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ystarlongzi authored Nov 18, 2016
1 parent d6f846a commit 06a1d50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Collapse.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Collapse = React.createClass({
const activeKey = this.state.activeKey;
const { prefixCls, accordion } = this.props;
const newChildren = [];

Children.forEach(this.props.children, (child, index) => {
if (!child) return;
// If there is no key provide, use the panel order as default key
Expand All @@ -117,7 +117,7 @@ const Collapse = React.createClass({

newChildren.push(React.cloneElement(child, props));
});

return newChildren;
},

Expand Down

0 comments on commit 06a1d50

Please sign in to comment.