From 4f7347d109e016572ceb85b3832af275cfeb8658 Mon Sep 17 00:00:00 2001 From: Andy Dufilie Date: Wed, 21 Dec 2016 14:54:17 -0500 Subject: [PATCH] Add back two unnecessary divs to Container.render --- src/appShell/App/Container.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/appShell/App/Container.tsx b/src/appShell/App/Container.tsx index 250a9f09b69..3973ad595aa 100644 --- a/src/appShell/App/Container.tsx +++ b/src/appShell/App/Container.tsx @@ -32,12 +32,13 @@ export default class Container extends React.Component { c => React.cloneElement(c as React.ReactElement, childProps)); } render() { - let children = this.renderChildren(); - - if (children.length > 1) - throw new Error("This Container component should only contain a single child"); - - return children[0]; + return ( +
+
+ {this.renderChildren()} +
+
+ ); } }