Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1007 from 18F/ms-fix_broken_react_layout
Browse files Browse the repository at this point in the history
Fix layout broken on prod build
  • Loading branch information
Marco Segreto authored Feb 9, 2017
2 parents ac08f03 + 9c235c3 commit 174817c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static_src/components/complex_list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class ComplexList extends React.Component {
{ header }
{ emptyMessage }
{ this.props.children.length > 0 && this.props.children.map((child, i) => {
if (child.type.name === 'ComplexList') {
if (child.type === ComplexList) {
return child;
}
return (
Expand Down

0 comments on commit 174817c

Please sign in to comment.