aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/popup.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
commit94d111a94533c0c31231642e8ffe4fbd4ce30096 (patch)
tree79c9f8ec3754699f8a135630f1ab6ee9be8019e6 /src/webex/pages/popup.tsx
parentb5c90d12219ca3a0df173ddf085d2353831a8ef6 (diff)
downloadwallet-core-94d111a94533c0c31231642e8ffe4fbd4ce30096.tar.xz
lint for unused variables, fix query bug detected by this
Diffstat (limited to 'src/webex/pages/popup.tsx')
-rw-r--r--src/webex/pages/popup.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index a1a3f6b2b..c62a6f8af 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -325,7 +325,6 @@ class WalletBalanceView extends React.Component<any, any> {
});
const link = chrome.extension.getURL("/src/webex/pages/auditors.html");
const linkElem = <a className="actionLink" href={link} target="_blank">Trusted Auditors and Exchanges</a>;
- const paybackLink = chrome.extension.getURL("/src/webex/pages/payback.html");
const paybackLinkElem = <a className="actionLink" href={link} target="_blank">Trusted Auditors and Exchanges</a>;
return (
<div>
@@ -340,7 +339,6 @@ class WalletBalanceView extends React.Component<any, any> {
function formatHistoryItem(historyItem: HistoryRecord) {
const d = historyItem.detail;
- const t = historyItem.timestamp;
console.log("hist item", historyItem);
switch (historyItem.type) {
case "create-reserve":
@@ -365,8 +363,6 @@ function formatHistoryItem(historyItem: HistoryRecord) {
}
case "offer-contract": {
const link = chrome.extension.getURL("view-contract.html");
- const linkElem = <a href={link}>{abbrev(d.contractHash)}</a>;
- const merchantElem = <em>{abbrev(d.merchantName, 15)}</em>;
return (
<i18n.Translate wrap="p">
Merchant <em>{abbrev(d.merchantName, 15)}</em> offered contract <a href={link}>{abbrev(d.contractHash)}</a>;