未验证 提交 4b3967fa 编写于 作者: F Francisco Pizarro 提交者: GitHub

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

上级 ec3f8e58
......@@ -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"
}
}
import React from 'react'
import Helmet from 'react-helmet'
import { Helmet } from 'react-helmet'
function MyApp({ Component, pageProps }) {
return (
......
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) {
......
import React from 'react'
import Helmet from 'react-helmet'
import { Helmet } from 'react-helmet'
export default function About() {
return (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册