summaryrefslogtreecommitdiff
path: root/src/webex/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-13 13:10:20 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-13 13:10:20 +0100
commit04a60770ee6a282f4833b8bfe72525ea36b8e295 (patch)
treeefb2289bec715369ada44624a134cdc15f395295 /src/webex/pages
parentf3329ecf062b217b2e062b92034152f623685a87 (diff)
downloadwallet-core-04a60770ee6a282f4833b8bfe72525ea36b8e295.tar.gz
wallet-core-04a60770ee6a282f4833b8bfe72525ea36b8e295.tar.bz2
wallet-core-04a60770ee6a282f4833b8bfe72525ea36b8e295.zip
new history schema
Diffstat (limited to 'src/webex/pages')
-rw-r--r--src/webex/pages/popup.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index 3a2856d64..b26e86e65 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -325,9 +325,10 @@ class WalletBalanceView extends React.Component<any, any> {
}
function formatHistoryItem(historyItem: HistoryEvent) {
- const d = historyItem.detail;
+ const d = historyItem;
console.log("hist item", historyItem);
switch (historyItem.type) {
+ /*
case "create-reserve":
return (
<i18n.Translate wrap="p">
@@ -414,6 +415,7 @@ function formatHistoryItem(historyItem: HistoryEvent) {
</>
);
}
+ */
default:
return <p>{i18n.str`Unknown event (${historyItem.type})`}</p>;
}