diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-01-30 12:41:42 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-01-30 12:41:42 +0100 |
commit | 25446bbdf8d0020b1adfe34e4f45c1a1eec6528e (patch) | |
tree | ce1716855f3501da31ec2994e6d9ddb3d7e3fa09 /src/components/settings | |
parent | Merge branch 'develop' into feature/invite-button (diff) | |
download | ferdium-app-25446bbdf8d0020b1adfe34e4f45c1a1eec6528e.tar.gz ferdium-app-25446bbdf8d0020b1adfe34e4f45c1a1eec6528e.tar.zst ferdium-app-25446bbdf8d0020b1adfe34e4f45c1a1eec6528e.zip |
Merge branch 'fix-invite-screen' into feature/invite-button
fix linitng errors
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/account/AccountDashboard.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/settings/account/AccountDashboard.js b/src/components/settings/account/AccountDashboard.js index d5f2e238c..2e2805557 100644 --- a/src/components/settings/account/AccountDashboard.js +++ b/src/components/settings/account/AccountDashboard.js | |||
@@ -49,10 +49,9 @@ const messages = defineMessages({ | |||
49 | defaultMessage: '!!!Edit Account', | 49 | defaultMessage: '!!!Edit Account', |
50 | }, | 50 | }, |
51 | accountInviteButton: { | 51 | accountInviteButton: { |
52 | id: "settings.account.account.inviteButton", | 52 | id: 'settings.account.account.inviteButton', |
53 | defaultMessage: '!!!Invite Friends', | 53 | defaultMessage: '!!!Invite Friends', |
54 | }, | 54 | }, |
55 | |||
56 | invoiceDownload: { | 55 | invoiceDownload: { |
57 | id: 'settings.account.invoiceDownload', | 56 | id: 'settings.account.invoiceDownload', |
58 | defaultMessage: '!!!Download', | 57 | defaultMessage: '!!!Download', |
@@ -96,6 +95,7 @@ export default class AccountDashboard extends Component { | |||
96 | deleteAccount: PropTypes.func.isRequired, | 95 | deleteAccount: PropTypes.func.isRequired, |
97 | isLoadingDeleteAccount: PropTypes.bool.isRequired, | 96 | isLoadingDeleteAccount: PropTypes.bool.isRequired, |
98 | isDeleteAccountSuccessful: PropTypes.bool.isRequired, | 97 | isDeleteAccountSuccessful: PropTypes.bool.isRequired, |
98 | pathname: PropTypes.string.isRequired, | ||
99 | }; | 99 | }; |
100 | 100 | ||
101 | static contextTypes = { | 101 | static contextTypes = { |
@@ -193,12 +193,12 @@ export default class AccountDashboard extends Component { | |||
193 | query: { from: pathname }, | 193 | query: { from: pathname }, |
194 | // state: { "from": 'hi' } // is not being passed to route | 194 | // state: { "from": 'hi' } // is not being passed to route |
195 | }} | 195 | }} |
196 | className="button account__invite-button"> | 196 | className="button account__invite-button" |
197 | > | ||
197 | {intl.formatMessage(messages.accountInviteButton)} | 198 | {intl.formatMessage(messages.accountInviteButton)} |
198 | </Link> | 199 | </Link> |
199 | </div> | 200 | </div> |
200 | </div> | 201 | </div> |
201 | |||
202 | {user.emailValidated} | 202 | {user.emailValidated} |
203 | </div> | 203 | </div> |
204 | </div> | 204 | </div> |