diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/components/ContentBlock.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/ContentBlock.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/ContentBlock.tsx b/packages/dev-tools-pages/ts/components/ContentBlock.tsx index 66e0331ab..2818858dc 100644 --- a/packages/dev-tools-pages/ts/components/ContentBlock.tsx +++ b/packages/dev-tools-pages/ts/components/ContentBlock.tsx @@ -69,7 +69,7 @@ const ContentBlock: React.StatelessComponent<ContentBlockProps> = props => { return ( <Base> <Title color={props.colors}>{props.title}</Title> - {children ? <Content>{children}</Content> : null} + {children === undefined ? null : <Content>{children}</Content>} </Base> ); }; |