From 016eee179c327bd71cb6301e27460ed63f81800a Mon Sep 17 00:00:00 2001 From: Jason Quense Date: Wed, 28 Feb 2018 17:29:13 -0500 Subject: [PATCH] Allow strings, arrays, fragments, etc. --- src/StaticContainer.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StaticContainer.react.js b/src/StaticContainer.react.js index 12a5647..828db03 100644 --- a/src/StaticContainer.react.js +++ b/src/StaticContainer.react.js @@ -39,7 +39,7 @@ class StaticContainer extends React.Component { if (child === null || child === false) { return null; } - return React.Children.only(child); + return child; } }