gatsby-plugin-layout
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -6,2 +6,8 @@ # Change Log | ||
<a name="1.0.8"></a> | ||
## [1.0.8](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-layout@1.0.7...gatsby-plugin-layout@1.0.8) (2018-11-08) | ||
**Note:** Version bump only for package gatsby-plugin-layout | ||
<a name="1.0.7"></a> | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "gatsby-plugin-layout", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "864ac048e573add87399b0e5a964fe127184f4bb" | ||
"gitHead": "f9714a5646523bc728586e3692190507ad68e6c1" | ||
} |
@@ -204,9 +204,7 @@ # gatsby-plugin-layout | ||
export default ({ children, pageContext }) => { | ||
if (pageContext.layout === 'special') { | ||
if (pageContext.layout === "special") { | ||
return <AlternativeLayout>{children}</AlternativeLayout> | ||
} | ||
return ( | ||
<RegularLayout>{children}</RegularLayout> | ||
) | ||
return <RegularLayout>{children}</RegularLayout> | ||
} | ||
``` |
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
13559
210