diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-06 09:10:31 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-06 09:10:31 +0100 |
commit | 48059682d04c5911add9f962a85ef6d514355ee5 (patch) | |
tree | 9f22d69b0720a3162a9492037feaa2369c829656 /src/containers/settings | |
parent | Merge branch 'develop' into feature/invite-button (diff) | |
download | ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.tar.gz ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.tar.zst ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.zip |
[MINOR] house cleaning
Diffstat (limited to 'src/containers/settings')
-rw-r--r-- | src/containers/settings/AccountScreen.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/containers/settings/AccountScreen.js b/src/containers/settings/AccountScreen.js index 9ee93a9e9..c5c2982b0 100644 --- a/src/containers/settings/AccountScreen.js +++ b/src/containers/settings/AccountScreen.js | |||
@@ -61,7 +61,7 @@ export default class AccountScreen extends Component { | |||
61 | render() { | 61 | render() { |
62 | const { user, payment } = this.props.stores; | 62 | const { user, payment } = this.props.stores; |
63 | const { openExternalUrl } = this.props.actions.app; | 63 | const { openExternalUrl } = this.props.actions.app; |
64 | const { user: userActions } = this.props.actions; // @adlk: :+1 what's the opposite of git blame? | 64 | const { user: userActions } = this.props.actions; |
65 | 65 | ||
66 | const isLoadingUserInfo = user.getUserInfoRequest.isExecuting; | 66 | const isLoadingUserInfo = user.getUserInfoRequest.isExecuting; |
67 | const isLoadingOrdersInfo = payment.ordersDataRequest.isExecuting; | 67 | const isLoadingOrdersInfo = payment.ordersDataRequest.isExecuting; |
@@ -83,7 +83,6 @@ export default class AccountScreen extends Component { | |||
83 | deleteAccount={userActions.delete} | 83 | deleteAccount={userActions.delete} |
84 | isLoadingDeleteAccount={user.deleteAccountRequest.isExecuting} | 84 | isLoadingDeleteAccount={user.deleteAccountRequest.isExecuting} |
85 | isDeleteAccountSuccessful={user.deleteAccountRequest.wasExecuted && !user.deleteAccountRequest.isError} | 85 | isDeleteAccountSuccessful={user.deleteAccountRequest.wasExecuted && !user.deleteAccountRequest.isError} |
86 | pathname={this.props.location.pathname} | ||
87 | /> | 86 | /> |
88 | ); | 87 | ); |
89 | } | 88 | } |
@@ -107,7 +106,4 @@ AccountScreen.wrappedComponent.propTypes = { | |||
107 | delete: PropTypes.func.isRequired, | 106 | delete: PropTypes.func.isRequired, |
108 | }).isRequired, | 107 | }).isRequired, |
109 | }).isRequired, | 108 | }).isRequired, |
110 | location: PropTypes.shape({ | ||
111 | pathname: PropTypes.string, | ||
112 | }).isRequired, | ||
113 | }; | 109 | }; |