未验证 提交 88b1fe50 编写于 作者: L Luis Alvarez D 提交者: GitHub

Remove react import in create-next-app template (#10564)

上级 3f691eaa
......@@ -76,7 +76,11 @@
}
},
{
"files": ["test/**/*", "examples/**/*"],
"files": [
"test/**/*",
"examples/**/*",
"packages/create-next-app/templates/**/*"
],
"rules": { "react/react-in-jsx-scope": "off" }
}
],
......
import React from 'react'
import Head from 'next/head'
const Home = () => (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册