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
@@ -46,7 +46,7 @@ const mapStateToProps = () => {
|
||||
class Onboarding extends ImmutablePureComponent {
|
||||
static propTypes = {
|
||||
dispatch: PropTypes.func.isRequired,
|
||||
account: ImmutablePropTypes.map,
|
||||
account: ImmutablePropTypes.record,
|
||||
...WithRouterPropTypes,
|
||||
};
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ class Share extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
onBack: PropTypes.func,
|
||||
account: ImmutablePropTypes.map,
|
||||
account: ImmutablePropTypes.record,
|
||||
intl: PropTypes.object,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user