aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/popup.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-06-05 03:20:28 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-06-05 03:20:28 +0200
commit290459133226503bcbc16f7dc3cb04d7abdc6735 (patch)
tree0d21f175f60c10f144f9dc6a661979e5e06c8d71 /src/webex/pages/popup.tsx
parente95027f37712c37be243403a78ff6a327a83177e (diff)
downloadwallet-core-290459133226503bcbc16f7dc3cb04d7abdc6735.tar.xz
pretty reset page
Diffstat (limited to 'src/webex/pages/popup.tsx')
-rw-r--r--src/webex/pages/popup.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index 831147f1e..f1f0353ad 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -36,6 +36,7 @@ import {
} from "../../types";
import { abbrev, renderAmount } from "../renderHtml";
+import * as wxApi from "../wxApi";
import * as React from "react";
import * as ReactDOM from "react-dom";
@@ -484,7 +485,7 @@ function reload() {
function confirmReset() {
if (confirm("Do you want to IRREVOCABLY DESTROY everything inside your" +
" wallet and LOSE ALL YOUR COINS?")) {
- chrome.runtime.sendMessage({type: "reset"});
+ wxApi.resetDb();
window.close();
}
}