Skip to content

Commit

Permalink
improve Row children render (ant-design#1746)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 20, 2016
1 parent c9e8423 commit e524f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class Row extends React.Component {
...style,
} : style;
const cols = Children.map(children, col => {
if (col === null) return null;
if (!col) return null;

return cloneElement(col, {
style: gutter > 0 ? {
Expand Down

0 comments on commit e524f16

Please sign in to comment.