Use Immutable Record for accounts in Redux state (#26559)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2023-11-03 15:00:03 +00:00
1 parent 9d799d40ba
commit 3bf2a7296e
65 files changed
+765 -662

No files matched your search

@@ -91,7 +91,7 @@ const dateFormatOptions = {
class Header extends ImmutablePureComponent {
static propTypes = {
account: ImmutablePropTypes.map,
account: ImmutablePropTypes.record,
identity_props: ImmutablePropTypes.list,
onFollow: PropTypes.func.isRequired,
onBlock: PropTypes.func.isRequired,