From c83a22a9eaccbbcfcebc7cd380189d3d72c92e82 Mon Sep 17 00:00:00 2001 From: Medzik Date: Tue, 28 Sep 2021 17:27:48 +0000 Subject: [PATCH] update --- .eslintrc.json | 6 ++++++ gatsby-ssr.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) }