From 0b9630b02ff612728b88c7f2ad3515ac3460526a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Mon, 31 Oct 2016 12:01:44 +0000 Subject: [PATCH] don't duplicate label and children in --- ui/src/components/radio/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/radio/index.js b/ui/src/components/radio/index.js index 25184b40..6a2cd086 100644 --- a/ui/src/components/radio/index.js +++ b/ui/src/components/radio/index.js @@ -16,7 +16,7 @@ const Radio = ({ value }) => { const _label = label || children; - const _children = label ? children : null; + const _children = label && children ? children : null; const cn = classNames( className,