aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-22 10:18:10 +0800
committerDan <danjm.com@gmail.com>2018-03-22 10:18:10 +0800
commita82631791efb496efc9f611a2a3edbac7123d221 (patch)
tree747446f3fa06954dc40f82ca5434a8d63960eecf /ui/app/components/modals
parent18f85835296f12814e0593dfc67b29ac672ddf53 (diff)
downloadtangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.gz
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.bz2
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.lz
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.xz
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.tar.zst
tangerine-wallet-browser-a82631791efb496efc9f611a2a3edbac7123d221.zip
Lint fixes
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r--ui/app/components/modals/new-account-modal.js4
-rw-r--r--ui/app/components/modals/notification-modal.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/modals/new-account-modal.js b/ui/app/components/modals/new-account-modal.js
index c46980855..372b65251 100644
--- a/ui/app/components/modals/new-account-modal.js
+++ b/ui/app/components/modals/new-account-modal.js
@@ -11,7 +11,7 @@ class NewAccountModal extends Component {
const newAccountNumber = numberOfExistingAccounts + 1
this.state = {
- newAccountName: `${t('account')} ${newAccountNumber}`,
+ newAccountName: `${props.t('account')} ${newAccountNumber}`,
}
}
@@ -69,7 +69,7 @@ NewAccountModal.propTypes = {
showImportPage: PropTypes.func,
createAccount: PropTypes.func,
numberOfExistingAccounts: PropTypes.number,
- localeMessages: PropTypes.object,
+ t: PropTypes.func,
}
const mapStateToProps = state => {
diff --git a/ui/app/components/modals/notification-modal.js b/ui/app/components/modals/notification-modal.js
index 3c4ab5194..5d6dca177 100644
--- a/ui/app/components/modals/notification-modal.js
+++ b/ui/app/components/modals/notification-modal.js
@@ -62,7 +62,7 @@ NotificationModal.propTypes = {
showCancelButton: PropTypes.bool,
showConfirmButton: PropTypes.bool,
onConfirm: PropTypes.func,
- localeMessages: PropTypes.object,
+ t: PropTypes.func,
}
const mapDispatchToProps = dispatch => {