Skip to content

Commit

Permalink
fix(seo.js): avoid componentWillMount warning
Browse files Browse the repository at this point in the history
We've made a upgrade to react-helmet 6 beta

More context: gatsbyjs/gatsby#17865 (comment)
  • Loading branch information
Jimmy Andrade committed Mar 14, 2020
1 parent e402d9c commit 031e0aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
27 changes: 9 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"query-string": "6.11.1",
"react": "16.13.0",
"react-dom": "16.13.0",
"react-helmet": "5.2.1",
"react-helmet": "6.0.0-beta.2",
"use-global-hook": "0.1.12"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React from "react"
import PropTypes from "prop-types"
import Helmet from "react-helmet"
import { Helmet } from "react-helmet"
import { useStaticQuery, graphql } from "gatsby"

function SEO({ description, lang, meta, title }) {
Expand Down

0 comments on commit 031e0aa

Please sign in to comment.