From f63903b963dc8d4fc2f01b4ed87805e851947810 Mon Sep 17 00:00:00 2001 From: Zev Goldstein Date: Sun, 5 Jul 2020 20:44:44 -0400 Subject: [PATCH] upgrade helmet v5 caused our tests to warn about deprecated componentWillMount method. see https://github.com/gatsbyjs/gatsby/issues/17865 --- package.json | 4 ++-- src/components/Layout.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f1da16f..5e3e843 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,13 @@ "gatsby-image": "^2.4.7", "gatsby-plugin-manifest": "^2.1.1", "gatsby-plugin-offline": "^2.1.0", - "gatsby-plugin-react-helmet": "^3.0.12", + "gatsby-plugin-react-helmet": "^3.3.9", "gatsby-plugin-sass": "^2.0.11", "gatsby-source-contentful": "^2.3.15", "node-sass": "^4.12.0", "react": "^16.8.6", "react-dom": "^16.8.6", - "react-helmet": "^5.2.1", + "react-helmet": "^6.1.0", "react-images": "^0.5.19", "react-scrollspy": "^3.4.0", "smoothscroll-polyfill": "^0.4.4" diff --git a/src/components/Layout.js b/src/components/Layout.js index bc8d0cb..38387c3 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import Helmet from 'react-helmet'; +import { Helmet } from 'react-helmet'; import { StaticQuery, graphql } from 'gatsby'; import '../assets/sass/main.scss';