reshow-build
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -57,5 +57,10 @@ "use strict"; | ||
var el = component(props); | ||
return isValidElement(el) ? null !== props.key ? buildReact(el, { | ||
key: props.key | ||
}) : el : altWrap ? buildReact(altWrap, props, el) : buildReact(el, props); | ||
if (isValidElement(el)) { | ||
var elKey = el.key || props.key; | ||
return null != elKey ? buildReact(el, { | ||
key: elKey | ||
}) : el; | ||
} else { | ||
return altWrap ? buildReact(altWrap, props, el) : buildReact(el, props); | ||
} | ||
} catch (e) { | ||
@@ -62,0 +67,0 @@ if (e.name === _reshowConstant.TYPE_ERROR) { |
{ | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"name": "reshow-build", | ||
@@ -4,0 +4,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37517
1036