Unverified Commit 4b3967fa authored by Francisco Pizarro's avatar Francisco Pizarro Committed by GitHub

examples/with-react-helmet: upgrade react-helmet to v6.0.0 (#12000)

parent ec3f8e58
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
"next": "latest", "next": "latest",
"react": "^16.7.0", "react": "^16.7.0",
"react-dom": "^16.7.0", "react-dom": "^16.7.0",
"react-helmet": "^5.1.3" "react-helmet": "^6.0.0"
} }
} }
import React from 'react' import React from 'react'
import Helmet from 'react-helmet' import { Helmet } from 'react-helmet'
function MyApp({ Component, pageProps }) { function MyApp({ Component, pageProps }) {
return ( return (
......
import Document, { Head, Main, NextScript } from 'next/document' import Document, { Head, Main, NextScript } from 'next/document'
import Helmet from 'react-helmet' import { Helmet } from 'react-helmet'
export default class extends Document { export default class extends Document {
static async getInitialProps(...args) { static async getInitialProps(...args) {
......
import React from 'react' import React from 'react'
import Helmet from 'react-helmet' import { Helmet } from 'react-helmet'
export default function About() { export default function About() {
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment