From 04a60770ee6a282f4833b8bfe72525ea36b8e295 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 13 Dec 2019 13:10:20 +0100 Subject: new history schema --- src/webex/pages/popup.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/webex/pages/popup.tsx') 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 { } function formatHistoryItem(historyItem: HistoryEvent) { - const d = historyItem.detail; + const d = historyItem; console.log("hist item", historyItem); switch (historyItem.type) { + /* case "create-reserve": return ( @@ -414,6 +415,7 @@ function formatHistoryItem(historyItem: HistoryEvent) { ); } + */ default: return

{i18n.str`Unknown event (${historyItem.type})`}

; } -- cgit v1.2.3