diff --git a/package.json b/package.json index ca72a4f..47eefa5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "index": "./src/index.js" }, "dependencies": { - "antd": "^2.6.0", + "antd": "^2.7.0", "classnames": "^2.2.5", "dva": "^1.1.0", "dva-loading": "^0.2.0", diff --git a/src/components/dashboard/comments.js b/src/components/dashboard/comments.js index 8dbe27c..d5b57ba 100644 --- a/src/components/dashboard/comments.js +++ b/src/components/dashboard/comments.js @@ -41,7 +41,7 @@ function Comments (props) { ] return (
- key} dataSource={props.data.filter((item, key) => key < 3)} /> +
key} dataSource={props.data.filter((item, key) => key < 3)} /> ) } diff --git a/src/components/dashboard/recentSales.js b/src/components/dashboard/recentSales.js index 915af2d..409f004 100644 --- a/src/components/dashboard/recentSales.js +++ b/src/components/dashboard/recentSales.js @@ -43,7 +43,7 @@ function RecentSales (props) { ] return (
-
key} dataSource={props.data.filter((item, key) => key < 5)} /> +
key} dataSource={props.data.filter((item, key) => key < 5)} /> ) }