Skip to content

Commit

Permalink
Update packages/gatsby-plugin-styled-components/src/gatsby-ssr.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored Sep 11, 2021
1 parent 601d581 commit 7b8c284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-styled-components/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports.wrapRootElement = ({ element, pathname }, pluginOptions) => {
return (
<StyleSheetManager
sheet={sheet.instance}
disableVendorPrefixes={pluginOptions?.disableVendorPrefixes === true}
disableVendorPrefixes={pluginOptions?.disableVendorPrefixes}
>
{element}
</StyleSheetManager>
Expand Down

0 comments on commit 7b8c284

Please sign in to comment.