diff options
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/pages/popup.tsx | 4 | ||||
-rw-r--r-- | src/webex/wxBackend.ts | 3 |
2 files changed, 4 insertions, 3 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>; } diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index 0a44dc193..d5a08b5d7 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -24,8 +24,7 @@ * Imports. */ import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi"; -import { deleteTalerDatabase, openTalerDatabase } from "../db"; -import { WALLET_DB_VERSION } from "../types/dbTypes"; +import { deleteTalerDatabase, openTalerDatabase, WALLET_DB_VERSION } from "../db"; import { ConfirmReserveRequest, CreateReserveRequest, ReturnCoinsRequest, WalletDiagnostics } from "../types/walletTypes"; import { AmountJson } from "../util/amounts"; import { BrowserHttpLib } from "../util/http"; |