);
};
// export default Products;
export default connect(({ products }) => ({
- products
+ products,
}))(Products);
```
@@ -266,7 +259,7 @@ We have completed a simple application, but you may still have lots of questions
You can:
-- Visit [dva offical website](https://github.com/dvajs/dva)
-- View all the [API](https://github.com/dvajs/dva#api)
-- View [toturial](https://github.com/dvajs/dva-docs/blob/master/v1/zh-cn/tutorial/01-%E6%A6%82%E8%A6%81.md), complete a medium application step by step
-- View examples, such as [dva version of hackernews](https://github.com/dvajs/dva-hackernews)
+- Visit [dva offical website](https://github.com/dvajs/dva).
+- View all the [API](https://github.com/dvajs/dva#api).
+- View [toturial](https://github.com/dvajs/dva-docs/blob/master/v1/zh-cn/tutorial/01-%E6%A6%82%E8%A6%81.md), complete a medium application step by step.
+- View examples, such as [dva version of hackernews](https://github.com/dvajs/dva-hackernews).
diff --git a/docs/react/practical-projects.zh-CN.md b/docs/react/practical-projects.zh-CN.md
index 2f05dea155..9b94b45f66 100644
--- a/docs/react/practical-projects.zh-CN.md
+++ b/docs/react/practical-projects.zh-CN.md
@@ -75,11 +75,9 @@ $ npm install antd babel-plugin-import --save
```javascript
import React from 'react';
-const Products = (props) => {
- return (
-