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

This commit is contained in:
Renaud Chaput
2023-11-03 16:00:03 +01:00
committed by GitHub
parent 9d799d40ba
commit 3bf2a7296e
65 changed files with 765 additions and 662 deletions

View File

@@ -46,7 +46,7 @@ const mapStateToProps = () => {
class Onboarding extends ImmutablePureComponent {
static propTypes = {
dispatch: PropTypes.func.isRequired,
account: ImmutablePropTypes.map,
account: ImmutablePropTypes.record,
...WithRouterPropTypes,
};

View File

@@ -145,7 +145,7 @@ class Share extends PureComponent {
static propTypes = {
onBack: PropTypes.func,
account: ImmutablePropTypes.map,
account: ImmutablePropTypes.record,
intl: PropTypes.object,
};