diff options
author | 2018-02-03 10:41:57 +0100 | |
---|---|---|
committer | 2018-02-03 10:41:57 +0100 | |
commit | 7c84f04a6aca07638276d717ad56e27c984710e2 (patch) | |
tree | 1c9602b31c74b53db4486ada3cde6d5b5173810d /src/components/settings | |
parent | fix defaultProps (diff) | |
download | ferdium-app-7c84f04a6aca07638276d717ad56e27c984710e2.tar.gz ferdium-app-7c84f04a6aca07638276d717ad56e27c984710e2.tar.zst ferdium-app-7c84f04a6aca07638276d717ad56e27c984710e2.zip |
REMOVE invite button from Account Dashboard
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/account/AccountDashboard.js | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/src/components/settings/account/AccountDashboard.js b/src/components/settings/account/AccountDashboard.js index 2e2805557..649c4b067 100644 --- a/src/components/settings/account/AccountDashboard.js +++ b/src/components/settings/account/AccountDashboard.js | |||
@@ -180,25 +180,9 @@ export default class AccountDashboard extends Component { | |||
180 | <span className="badge badge--premium">{intl.formatMessage(messages.accountTypePremium)}</span> | 180 | <span className="badge badge--premium">{intl.formatMessage(messages.accountTypePremium)}</span> |
181 | )} | 181 | )} |
182 | </div> | 182 | </div> |
183 | <div className="grid"> | 183 | <Link to="/settings/user/edit" className="button account__edit-button"> |
184 | <div className="grid__row"> | 184 | {intl.formatMessage(messages.accountEditButton)} |
185 | <Link to="/settings/user/edit" className="button account__edit-button"> | 185 | </Link> |
186 | {intl.formatMessage(messages.accountEditButton)} | ||
187 | </Link> | ||
188 | </div> | ||
189 | <div className="grid__row"> | ||
190 | <Link | ||
191 | to={{ | ||
192 | pathname: '/auth/signup/invite', | ||
193 | query: { from: pathname }, | ||
194 | // state: { "from": 'hi' } // is not being passed to route | ||
195 | }} | ||
196 | className="button account__invite-button" | ||
197 | > | ||
198 | {intl.formatMessage(messages.accountInviteButton)} | ||
199 | </Link> | ||
200 | </div> | ||
201 | </div> | ||
202 | {user.emailValidated} | 186 | {user.emailValidated} |
203 | </div> | 187 | </div> |
204 | </div> | 188 | </div> |