From 4b3967fa100bf5255a0e22f9a6a125b498cbf9ea Mon Sep 17 00:00:00 2001 From: Francisco Pizarro Date: Sat, 18 Apr 2020 14:09:10 -0400 Subject: [PATCH] examples/with-react-helmet: upgrade react-helmet to v6.0.0 (#12000) --- examples/with-react-helmet/package.json | 2 +- examples/with-react-helmet/pages/_app.js | 2 +- examples/with-react-helmet/pages/_document.js | 2 +- examples/with-react-helmet/pages/about.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/with-react-helmet/package.json b/examples/with-react-helmet/package.json index 81ec683bcb..91a3339937 100644 --- a/examples/with-react-helmet/package.json +++ b/examples/with-react-helmet/package.json @@ -11,6 +11,6 @@ "next": "latest", "react": "^16.7.0", "react-dom": "^16.7.0", - "react-helmet": "^5.1.3" + "react-helmet": "^6.0.0" } } diff --git a/examples/with-react-helmet/pages/_app.js b/examples/with-react-helmet/pages/_app.js index 6a52482169..39274a83ae 100644 --- a/examples/with-react-helmet/pages/_app.js +++ b/examples/with-react-helmet/pages/_app.js @@ -1,5 +1,5 @@ import React from 'react' -import Helmet from 'react-helmet' +import { Helmet } from 'react-helmet' function MyApp({ Component, pageProps }) { return ( diff --git a/examples/with-react-helmet/pages/_document.js b/examples/with-react-helmet/pages/_document.js index f0a25cfc44..1a32954380 100644 --- a/examples/with-react-helmet/pages/_document.js +++ b/examples/with-react-helmet/pages/_document.js @@ -1,5 +1,5 @@ import Document, { Head, Main, NextScript } from 'next/document' -import Helmet from 'react-helmet' +import { Helmet } from 'react-helmet' export default class extends Document { static async getInitialProps(...args) { diff --git a/examples/with-react-helmet/pages/about.js b/examples/with-react-helmet/pages/about.js index 26e5ae175c..59a37535df 100644 --- a/examples/with-react-helmet/pages/about.js +++ b/examples/with-react-helmet/pages/about.js @@ -1,5 +1,5 @@ import React from 'react' -import Helmet from 'react-helmet' +import { Helmet } from 'react-helmet' export default function About() { return ( -- GitLab