diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-06-05 03:20:28 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-06-05 03:20:28 +0200 |
commit | 290459133226503bcbc16f7dc3cb04d7abdc6735 (patch) | |
tree | 0d21f175f60c10f144f9dc6a661979e5e06c8d71 /src/webex/pages/popup.tsx | |
parent | e95027f37712c37be243403a78ff6a327a83177e (diff) | |
download | wallet-core-290459133226503bcbc16f7dc3cb04d7abdc6735.tar.xz |
pretty reset page
Diffstat (limited to 'src/webex/pages/popup.tsx')
-rw-r--r-- | src/webex/pages/popup.tsx | 3 |
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(); } } |