Skip to content

Commit 4dc14ea

Browse files
author
Wenjun Mao
authored
Update home.jsx
1 parent 1edcccb commit 4dc14ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

11_src/src/home.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
// 为了完成提取部分组建的 props 作为 state 的动作, (Ex: state.items[props.someID]).
5151
// 组件的 props 也被作为参数提供。
5252
// "mapStateToProps" 被期望返回所有你希望暴露给你的组件的 props, 通常通过一个对象常量 (object literal)返回。
53-
// 你可以在返回前修改取得的 state 值。
54-
// 下面是一些简单的 Connect 应用 (在定义组件之后)
53+
// 你可以在返回前修改取得的 state 值。下面是一些简单的 Connect 应用 (在定义组件之后)
5554

5655
import React from 'react'
5756
import { connect } from 'react-redux'

0 commit comments

Comments
 (0)