diff --git a/elements/Svg.js b/elements/Svg.js index 45d2943c..3ee04208 100644 --- a/elements/Svg.js +++ b/elements/Svg.js @@ -62,7 +62,7 @@ class Svg extends Component{ let opacity = +props.opacity; let width = +props.width; let height = +props.height; - let flexLayout = !isNaN(width) || !isNaN(height); + let flexLayout = isNaN(width) || isNaN(height); let content = (props.viewbox && !flexLayout) ?