From 5865d1f62c8af89bee14c50ec2fea9587a25fc25 Mon Sep 17 00:00:00 2001 From: August Skare Date: Mon, 19 Nov 2018 14:56:40 +0100 Subject: strict check for children in contentblock --- packages/dev-tools-pages/ts/components/ContentBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = props => { return ( {props.title} - {children ? {children} : null} + {children === undefined ? null : {children}} ); }; -- cgit v1.2.3