Use Immutable Record for accounts in Redux state (#26559)
This commit is contained in:
1 parent
9d799d40ba
commit
3bf2a7296e
65 files changed
+765
-662
No files matched your search
@@ -102,7 +102,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||
class AccountCard extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
account: ImmutablePropTypes.map.isRequired,
|
||||
account: ImmutablePropTypes.record.isRequired,
|
||||
intl: PropTypes.object.isRequired,
|
||||
onFollow: PropTypes.func.isRequired,
|
||||
onBlock: PropTypes.func.isRequired,
|
||||
|
||||
Reference in new issue
Block a user