Commit 9ce12a03 authored by 偏右's avatar 偏右 Committed by Tim Neutkens

Upgrade deps and fix old usage (#2084)

Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
parent 2953a01c
...@@ -7,11 +7,11 @@ ...@@ -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"
......
...@@ -11,7 +11,7 @@ export default () => ( ...@@ -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 }}
......
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