diff --git a/.eslintrc.json b/.eslintrc.json index 50ee543..d2ae1d2 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -29,6 +29,12 @@ "quotes": [ "error", "single" + ], + "no-unused-vars": [ + "warn" + ], + "react/jsx-key": [ + "off" ] } } diff --git a/gatsby-ssr.js b/gatsby-ssr.js index 527c9ed..adefed5 100644 --- a/gatsby-ssr.js +++ b/gatsby-ssr.js @@ -7,6 +7,6 @@ const HeadComponents = [ />, ] -exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => { +exports.onRenderBody = ({ setHeadComponents }) => { setHeadComponents(HeadComponents) }