gatsby-plugin-react-helmet
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -15,5 +15,10 @@ "use strict"; | ||
var helmet = _reactHelmet2.default.renderStatic(); | ||
setHtmlAttributes(helmet.htmlAttributes.toComponent()); | ||
setBodyAttributes(helmet.bodyAttributes.toComponent()); | ||
// These action functions were added partway through the Gatsby 1.x cycle. | ||
if (setHtmlAttributes) { | ||
setHtmlAttributes(helmet.htmlAttributes.toComponent()); | ||
} | ||
if (setBodyAttributes) { | ||
setBodyAttributes(helmet.bodyAttributes.toComponent()); | ||
} | ||
setHeadComponents([helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponent(), helmet.style.toComponent()]); | ||
}; |
{ | ||
"name": "gatsby-plugin-react-helmet", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Stub description for gatsby-plugin-react-helmet", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2247
18