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 @@
"start": "next start"
},
"dependencies": {
"antd": "^2.9.3",
"antd": "^2.10.2",
"babel-plugin-import": "^1.1.1",
"next": "latest",
"react": "~15.4.2",
"react-dom": "~15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"author": "",
"license": "ISC"
......
......@@ -11,7 +11,7 @@ export default () => (
<Head>
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/antd/2.9.3/antd.min.css' />
</Head>
<Form horizontal>
<Form layout='horizontal'>
<FormItem
label='Input Number'
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