diff options
Diffstat (limited to 'src/components/settings/account/AccountDashboard.js')
-rw-r--r-- | src/components/settings/account/AccountDashboard.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/settings/account/AccountDashboard.js b/src/components/settings/account/AccountDashboard.js index 1e71beadf..d5f2e238c 100644 --- a/src/components/settings/account/AccountDashboard.js +++ b/src/components/settings/account/AccountDashboard.js | |||
@@ -118,6 +118,7 @@ export default class AccountDashboard extends Component { | |||
118 | deleteAccount, | 118 | deleteAccount, |
119 | isLoadingDeleteAccount, | 119 | isLoadingDeleteAccount, |
120 | isDeleteAccountSuccessful, | 120 | isDeleteAccountSuccessful, |
121 | pathname, | ||
121 | } = this.props; | 122 | } = this.props; |
122 | const { intl } = this.context; | 123 | const { intl } = this.context; |
123 | 124 | ||
@@ -189,7 +190,8 @@ export default class AccountDashboard extends Component { | |||
189 | <Link | 190 | <Link |
190 | to={{ | 191 | to={{ |
191 | pathname: '/auth/signup/invite', | 192 | pathname: '/auth/signup/invite', |
192 | state: { fromSettings: true } | 193 | query: { from: pathname }, |
194 | // state: { "from": 'hi' } // is not being passed to route | ||
193 | }} | 195 | }} |
194 | className="button account__invite-button"> | 196 | className="button account__invite-button"> |
195 | {intl.formatMessage(messages.accountInviteButton)} | 197 | {intl.formatMessage(messages.accountInviteButton)} |