From a97c76c345892fa834a4b21f31e32bd6468208ca Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Thu, 1 Jun 2017 14:11:09 +0500 Subject: [PATCH] Fix inferno bug with null children --- .../extension-common/pages/options/src/components/InfoLi.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js index e966878..c6ee8c2 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js @@ -136,7 +136,8 @@ export default function getInfoLi() { : ( ) // Affects vertical align of flexbox items. ) } - {props.children && (
{props.children}
)} + { props.checked && props.children } + {/* props.checked && (
{props.children}
)*/} );