-
+
{ abiError }
diff --git a/js/src/dapps/tokenreg.js b/js/src/dapps/tokenreg.js
index 5e940ab08..1bc76e123 100644
--- a/js/src/dapps/tokenreg.js
+++ b/js/src/dapps/tokenreg.js
@@ -30,9 +30,9 @@ import './style.css';
ReactDOM.render(
(
-
-
-
+
+
+
),
document.querySelector('#container')
);
diff --git a/js/src/dapps/tokenreg/Tokens/actions.js b/js/src/dapps/tokenreg/Tokens/actions.js
index d1e13c1dc..65ed24cd4 100644
--- a/js/src/dapps/tokenreg/Tokens/actions.js
+++ b/js/src/dapps/tokenreg/Tokens/actions.js
@@ -147,7 +147,7 @@ export const loadToken = (index) => (dispatch, getState) => {
dispatch(setTokenData(index, null));
dispatch(setTokenLoading(index, false));
- if (!e instanceof TypeError) {
+ if (!(e instanceof TypeError)) {
console.error(`loadToken #${index} error`, e);
}
});
diff --git a/js/src/modals/LoadContract/loadContract.js b/js/src/modals/LoadContract/loadContract.js
index f67a2dce6..e0e4127e3 100644
--- a/js/src/modals/LoadContract/loadContract.js
+++ b/js/src/modals/LoadContract/loadContract.js
@@ -79,16 +79,16 @@ export default class LoadContract extends Component {
const contractsTab = Object.keys(contracts).length === 0
? null
: (
-
- { this.renderEditor() }
+
+ { this.renderEditor() }
-
- Saved Contracts
- { this.renderContracts(contracts) }
-
-
+
+ Saved Contracts
+ { this.renderContracts(contracts) }
+
+
);
return (
@@ -174,9 +174,9 @@ export default class LoadContract extends Component {
const secondaryText = description || `Saved ${moment(timestamp).fromNow()}`;
const remove = removable
? (
-
-
-
+
+
+
)
: null;
diff --git a/js/src/modals/PasswordManager/passwordManager.js b/js/src/modals/PasswordManager/passwordManager.js
index aabf691ef..6e54468c6 100644
--- a/js/src/modals/PasswordManager/passwordManager.js
+++ b/js/src/modals/PasswordManager/passwordManager.js
@@ -98,10 +98,10 @@ export default class PasswordManager extends Component {
const passwordHint = meta && meta.passwordHint
? (
-
- Hint
- { meta.passwordHint }
-
+
+ Hint
+ { meta.passwordHint }
+
)
: null;
diff --git a/js/src/modals/SMSVerification/SMSVerification.js b/js/src/modals/SMSVerification/SMSVerification.js
index b7c8a901a..19b5b6e68 100644
--- a/js/src/modals/SMSVerification/SMSVerification.js
+++ b/js/src/modals/SMSVerification/SMSVerification.js
@@ -137,7 +137,7 @@ export default class SMSVerification extends Component {
step,
fee, number, isNumberValid, isVerified, hasRequested,
requestTx, isCodeValid, confirmationTx,
- setNumber, setConsentGiven, setCode
+ setCode
} = this.props.store;
switch (phase) {
diff --git a/js/src/ui/Container/Title/title.js b/js/src/ui/Container/Title/title.js
index 5be85e48e..794653130 100644
--- a/js/src/ui/Container/Title/title.js
+++ b/js/src/ui/Container/Title/title.js
@@ -38,9 +38,9 @@ export default class Title extends Component {
const byLine = typeof byline === 'string'
? (
-
- { byline }
-
+
+ { byline }
+
)
: byline;
diff --git a/js/src/ui/Tooltips/Tooltip/tooltip.js b/js/src/ui/Tooltips/Tooltip/tooltip.js
index c2718ef06..a36d124f3 100644
--- a/js/src/ui/Tooltips/Tooltip/tooltip.js
+++ b/js/src/ui/Tooltips/Tooltip/tooltip.js
@@ -74,10 +74,10 @@ class Tooltip extends Component {
label='Next'
onTouchTap={ onNextTooltip } />
] : (
-
}
- label='Done'
- onTouchTap={ onCloseTooltips } />
+
}
+ label='Done'
+ onTouchTap={ onCloseTooltips } />
);
return (
diff --git a/js/src/views/Accounts/accounts.js b/js/src/views/Accounts/accounts.js
index df55a47e7..f947e8301 100644
--- a/js/src/views/Accounts/accounts.js
+++ b/js/src/views/Accounts/accounts.js
@@ -92,7 +92,7 @@ class Accounts extends Component {
const loadings = ((accounts && Object.keys(accounts)) || []).map((_, idx) => (
));
diff --git a/js/src/views/Application/TabBar/tabBar.js b/js/src/views/Application/TabBar/tabBar.js
index 62f02b43b..53b5b4778 100644
--- a/js/src/views/Application/TabBar/tabBar.js
+++ b/js/src/views/Application/TabBar/tabBar.js
@@ -192,7 +192,7 @@ class TabBar extends Component {
return (
);
@@ -206,7 +206,7 @@ class TabBar extends Component {
.map((view, index) => {
const body = (view.id === 'accounts')
? (
-
+
)
: null;
diff --git a/js/src/views/Dapp/dapp.js b/js/src/views/Dapp/dapp.js
index a4be4644e..9094e4dc3 100644
--- a/js/src/views/Dapp/dapp.js
+++ b/js/src/views/Dapp/dapp.js
@@ -65,8 +65,7 @@ export default class Dapp extends Component {
name={ name }
sandbox='allow-forms allow-popups allow-same-origin allow-scripts'
scrolling='auto'
- src={ src }>
-
+ src={ src } />
);
}
}
diff --git a/js/src/views/Dapps/AddDapps/AddDapps.js b/js/src/views/Dapps/AddDapps/AddDapps.js
index 72b24bd2b..8f5df9e91 100644
--- a/js/src/views/Dapps/AddDapps/AddDapps.js
+++ b/js/src/views/Dapps/AddDapps/AddDapps.js
@@ -51,8 +51,7 @@ export default class AddDapps extends Component {
] }
visible
scroll>
-
-
+
{ this.renderList(store.sortedLocal, 'Applications locally available', 'All applications installed locally on the machine by the user for access by the Parity client.') }
{ this.renderList(store.sortedBuiltin, 'Applications bundled with Parity', 'Experimental applications developed by the Parity team to show off dapp capabilities, integration, experimental features and to control certain network-wide client behaviour.') }
{ this.renderList(store.sortedNetwork, 'Applications on the global network', 'These applications are not affiliated with Parity nor are they published by Parity. Each remain under the control of their respective authors. Please ensure that you understand the goals for each application before interacting.') }
diff --git a/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingForm.js b/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingForm.js
index aad28d513..6f46cf571 100644
--- a/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingForm.js
+++ b/js/src/views/Signer/components/TransactionPendingForm/TransactionPendingForm.js
@@ -80,7 +80,7 @@ export default class TransactionPendingForm extends Component {
onClick={ this.onToggleReject }
className={ styles.rejectToggle }
>
- { html }
+ { html }
);
}
diff --git a/js/src/views/Status/components/Calls/Calls.js b/js/src/views/Status/components/Calls/Calls.js
index c7b2100cf..7734104ec 100644
--- a/js/src/views/Status/components/Calls/Calls.js
+++ b/js/src/views/Status/components/Calls/Calls.js
@@ -62,7 +62,7 @@ export default class Calls extends Component {
onClick={ this.clearHistory }
className={ styles.removeIcon }
>
-
+
);
}
diff --git a/js/src/views/Status/components/EditableValue/EditableValue.js b/js/src/views/Status/components/EditableValue/EditableValue.js
index 84c5215a3..d78ec7d3b 100644
--- a/js/src/views/Status/components/EditableValue/EditableValue.js
+++ b/js/src/views/Status/components/EditableValue/EditableValue.js
@@ -140,7 +140,7 @@ export default class EditableValue extends Component {
title={ `Reset to ${this.props.defaultValue}` }
{ ...this._testInherit('reset') }
>
-
+
);
}
@@ -154,7 +154,7 @@ export default class EditableValue extends Component {
onClick={ this.onSubmit }
{ ...this._testInherit('submit') }
>
-
+
,
-
+
];
}
@@ -175,7 +175,7 @@ export default class EditableValue extends Component {
title='Edit'
{ ...this._testInherit('edit') }
>
-
+
);
}
diff --git a/js/src/views/Status/components/JsonEditor/JsonEditor.js b/js/src/views/Status/components/JsonEditor/JsonEditor.js
index c8707489a..e9086f1b5 100644
--- a/js/src/views/Status/components/JsonEditor/JsonEditor.js
+++ b/js/src/views/Status/components/JsonEditor/JsonEditor.js
@@ -53,7 +53,7 @@ export default class JsonEditor extends Component {
className={ `${styles.editor} ${errorClass}` }
value={ this.state.value }
/>
- { this.renderError() }
+ { this.renderError() }
);
}
diff --git a/js/src/views/Status/components/RpcCalls/RpcCalls.js b/js/src/views/Status/components/RpcCalls/RpcCalls.js
index bebbfe0ad..1b3f8b87b 100644
--- a/js/src/views/Status/components/RpcCalls/RpcCalls.js
+++ b/js/src/views/Status/components/RpcCalls/RpcCalls.js
@@ -66,7 +66,7 @@ export default class RpcCalls extends Component {
-