+
- { !this.state.ready ? : null}
+ { !this.state.ready ? : null}
)
}
@@ -172,12 +172,12 @@ export default class QrScanner extends Component {
-
+
{ title }
-
+
{msg}
{ this.renderVideo() }
-
diff --git a/ui/app/components/app/sidebars/sidebar.component.js b/ui/app/components/app/sidebars/sidebar.component.js
index e532ba7e5..484b87e4b 100644
--- a/ui/app/components/app/sidebars/sidebar.component.js
+++ b/ui/app/components/app/sidebars/sidebar.component.js
@@ -34,9 +34,9 @@ export default class Sidebar extends Component {
const { transaction = {} } = sidebarProps
switch (type) {
case WALLET_VIEW_SIDEBAR:
- return
+ return
case 'customize-gas':
- return
+ return
default:
return null
}
diff --git a/ui/app/components/app/sidebars/tests/sidebars-component.test.js b/ui/app/components/app/sidebars/tests/sidebars-component.test.js
index e2daea9b6..5f6657dde 100644
--- a/ui/app/components/app/sidebars/tests/sidebars-component.test.js
+++ b/ui/app/components/app/sidebars/tests/sidebars-component.test.js
@@ -19,8 +19,8 @@ describe('Sidebar Component', function () {
wrapper = shallow(
)
})
diff --git a/ui/app/components/ui/button-group/tests/button-group-component.test.js b/ui/app/components/ui/button-group/tests/button-group-component.test.js
index f2e512445..663d86c74 100644
--- a/ui/app/components/ui/button-group/tests/button-group-component.test.js
+++ b/ui/app/components/ui/button-group/tests/button-group-component.test.js
@@ -12,9 +12,9 @@ sinon.spy(ButtonGroup.prototype, 'handleButtonClick')
sinon.spy(ButtonGroup.prototype, 'renderButtons')
const mockButtons = [
-
,
-
,
-
,
+
,
+
,
+
,
]
describe('ButtonGroup Component', function () {
diff --git a/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js b/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js
index 64efabab0..84c1ddeb5 100644
--- a/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js
+++ b/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js
@@ -14,10 +14,10 @@ describe('Page Footer', () => {
wrapper = shallow(
)
})
diff --git a/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js b/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js
index 59304b2bd..1e055d4d4 100644
--- a/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js
+++ b/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js
@@ -16,9 +16,9 @@ describe('Page Container Header', () => {
showBackButton = {true}
onBackButtonClick = {onBackButtonClick}
backButtonStyles = {style}
- title = {'Test Title'}
- subtitle = {'Test Subtitle'}
- tabs = {'Test Tab'}
+ title = "Test Title"
+ subtitle = "Test Subtitle"
+ tabs = "Test Tab"
onClose = {onClose}
/>)
})
diff --git a/ui/app/pages/confirm-deploy-contract/confirm-deploy-contract.component.js b/ui/app/pages/confirm-deploy-contract/confirm-deploy-contract.component.js
index c90ccc917..2bb2b8156 100644
--- a/ui/app/pages/confirm-deploy-contract/confirm-deploy-contract.component.js
+++ b/ui/app/pages/confirm-deploy-contract/confirm-deploy-contract.component.js
@@ -56,7 +56,7 @@ export default class ConfirmDeployContract extends Component {
render () {
return (
)
diff --git a/ui/app/pages/confirm-send-ether/confirm-send-ether.component.js b/ui/app/pages/confirm-send-ether/confirm-send-ether.component.js
index 68280f624..6bc252dbb 100644
--- a/ui/app/pages/confirm-send-ether/confirm-send-ether.component.js
+++ b/ui/app/pages/confirm-send-ether/confirm-send-ether.component.js
@@ -30,7 +30,7 @@ export default class ConfirmSendEther extends Component {
return (
this.handleEdit(confirmTransactionData)}
/>
diff --git a/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js b/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
index bb187d634..ad1ffbf42 100644
--- a/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
+++ b/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js
@@ -104,7 +104,7 @@ export default class MetaMetricsOptIn extends Component {
})
})
}}
- cancelText={'No Thanks'}
+ cancelText="No Thanks"
hideCancel={false}
onSubmit={() => {
setParticipateInMetaMetrics(true)
@@ -137,8 +137,8 @@ export default class MetaMetricsOptIn extends Component {
})
})
}}
- submitText={'I agree'}
- submitButtonType={'primary'}
+ submitText="I agree"
+ submitButtonType="primary"
disabled={false}
/>
diff --git a/ui/app/pages/send/account-list-item/tests/account-list-item-component.test.js b/ui/app/pages/send/account-list-item/tests/account-list-item-component.test.js
index bec88402d..5a2bd5638 100644
--- a/ui/app/pages/send/account-list-item/tests/account-list-item-component.test.js
+++ b/ui/app/pages/send/account-list-item/tests/account-list-item-component.test.js
@@ -25,10 +25,10 @@ describe('AccountListItem Component', function () {
beforeEach(() => {
wrapper = shallow(
+
{this.context.t('max')}
diff --git a/ui/app/pages/send/send-content/send-amount-row/amount-max-button/tests/amount-max-button-component.test.js b/ui/app/pages/send/send-content/send-amount-row/amount-max-button/tests/amount-max-button-component.test.js
index f986b26bb..30ef4c678 100644
--- a/ui/app/pages/send/send-content/send-amount-row/amount-max-button/tests/amount-max-button-component.test.js
+++ b/ui/app/pages/send/send-content/send-amount-row/amount-max-button/tests/amount-max-button-component.test.js
@@ -19,13 +19,13 @@ describe('AmountMaxButton Component', function () {
beforeEach(() => {
wrapper = shallow(
, {
context: {
t: str => str + '_t',
diff --git a/ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js b/ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
index 10e90c419..495de58b5 100644
--- a/ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
+++ b/ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
@@ -108,7 +108,7 @@ export default class SendAmountRow extends Component {
{gasTotal && }
{ this.renderInput() }
diff --git a/ui/app/pages/send/send-content/send-amount-row/tests/send-amount-row-component.test.js b/ui/app/pages/send/send-content/send-amount-row/tests/send-amount-row-component.test.js
index 62e0676db..bfc0f7e64 100644
--- a/ui/app/pages/send/send-content/send-amount-row/tests/send-amount-row-component.test.js
+++ b/ui/app/pages/send/send-content/send-amount-row/tests/send-amount-row-component.test.js
@@ -26,17 +26,17 @@ describe('SendAmountRow Component', function () {
beforeEach(() => {
wrapper = shallow(
+ ?
: null
}
diff --git a/ui/app/pages/send/send-content/send-dropdown-list/tests/send-dropdown-list-component.test.js b/ui/app/pages/send/send-content/send-dropdown-list/tests/send-dropdown-list-component.test.js
index b92dd4dfe..bc6c97586 100644
--- a/ui/app/pages/send/send-content/send-dropdown-list/tests/send-dropdown-list-component.test.js
+++ b/ui/app/pages/send/send-content/send-dropdown-list/tests/send-dropdown-list-component.test.js
@@ -25,7 +25,7 @@ describe('SendDropdownList Component', function () {
]}
closeDropdown={propsMethodSpies.closeDropdown}
onSelect={propsMethodSpies.onSelect}
- activeAddress={'mockAddress2'}
+ activeAddress="mockAddress2"
/>, { context: { t: str => str + '_t' } })
})
@@ -39,7 +39,7 @@ describe('SendDropdownList Component', function () {
it('should return check icon if the passed addresses are the same', () => {
assert.deepEqual(
wrapper.instance().getListItemIcon('mockAccount0', 'mockAccount0'),
-
+
)
})
diff --git a/ui/app/pages/send/send-content/send-gas-row/gas-fee-display/test/gas-fee-display.component.test.js b/ui/app/pages/send/send-content/send-gas-row/gas-fee-display/test/gas-fee-display.component.test.js
index eedd43221..a77d68c97 100644
--- a/ui/app/pages/send/send-content/send-gas-row/gas-fee-display/test/gas-fee-display.component.test.js
+++ b/ui/app/pages/send/send-content/send-gas-row/gas-fee-display/test/gas-fee-display.component.test.js
@@ -17,9 +17,9 @@ describe('GasFeeDisplay Component', function () {
beforeEach(() => {
wrapper = shallow(, {context: {t: str => str + '_t'}})
diff --git a/ui/app/pages/send/send-content/send-gas-row/send-gas-row.component.js b/ui/app/pages/send/send-content/send-gas-row/send-gas-row.component.js
index ed064695e..a770cb55e 100644
--- a/ui/app/pages/send/send-content/send-gas-row/send-gas-row.component.js
+++ b/ui/app/pages/send/send-content/send-gas-row/send-gas-row.component.js
@@ -152,7 +152,7 @@ export default class SendGasRow extends Component {
{ this.renderContent() }
diff --git a/ui/app/pages/send/send-content/send-gas-row/tests/send-gas-row-component.test.js b/ui/app/pages/send/send-content/send-gas-row/tests/send-gas-row-component.test.js
index 0cbc92621..956c330ee 100644
--- a/ui/app/pages/send/send-content/send-gas-row/tests/send-gas-row-component.test.js
+++ b/ui/app/pages/send/send-content/send-gas-row/tests/send-gas-row-component.test.js
@@ -19,10 +19,10 @@ describe('SendGasRow Component', function () {
beforeEach(() => {
wrapper = shallow(