1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Upgrade deps and fix old usage (#2084)

Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
This commit is contained in:
偏右 2017-05-28 00:02:53 +08:00 committed by Tim Neutkens
parent 2953a01c43
commit 9ce12a03c5
2 changed files with 4 additions and 4 deletions

View file

@ -7,11 +7,11 @@
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"antd": "^2.9.3", "antd": "^2.10.2",
"babel-plugin-import": "^1.1.1", "babel-plugin-import": "^1.1.1",
"next": "latest", "next": "latest",
"react": "~15.4.2", "react": "^15.5.4",
"react-dom": "~15.4.2" "react-dom": "^15.5.4"
}, },
"author": "", "author": "",
"license": "ISC" "license": "ISC"

View file

@ -11,7 +11,7 @@ export default () => (
<Head> <Head>
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/antd/2.9.3/antd.min.css' /> <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/antd/2.9.3/antd.min.css' />
</Head> </Head>
<Form horizontal> <Form layout='horizontal'>
<FormItem <FormItem
label='Input Number' label='Input Number'
labelCol={{ span: 8 }} labelCol={{ span: 8 }}