aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/reset-required.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-10-15 19:28:35 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-10-15 20:30:33 +0200
commit8b2f53e3ed810a0539f76feb993f0044bc8c0f38 (patch)
treef88687b498f133e8e7c0743def7ef7929f6173c6 /src/webex/pages/reset-required.tsx
parent353eeca339e060eb4a03e0b67343086854a5e5d7 (diff)
downloadwallet-core-8b2f53e3ed810a0539f76feb993f0044bc8c0f38.tar.xz
fix tslint warnings
Diffstat (limited to 'src/webex/pages/reset-required.tsx')
-rw-r--r--src/webex/pages/reset-required.tsx17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/webex/pages/reset-required.tsx b/src/webex/pages/reset-required.tsx
index 90ea51abe..6631705af 100644
--- a/src/webex/pages/reset-required.tsx
+++ b/src/webex/pages/reset-required.tsx
@@ -27,7 +27,14 @@ import * as ReactDOM from "react-dom";
import * as wxApi from "../wxApi";
class State {
+ /**
+ * Did the user check the confirmation check box?
+ */
checked: boolean;
+
+ /**
+ * Do we actually need to reset the db?
+ */
resetRequired: boolean;
}
@@ -47,9 +54,15 @@ class ResetNotification extends React.Component<any, State> {
return (
<div>
<h1>Manual Reset Reqired</h1>
- <p>The wallet's database in your browser is incompatible with the currently installed wallet. Please reset manually.</p>
+ <p>
+ The wallet's database in your browser is incompatible with the {" "}
+ currently installed wallet. Please reset manually.
+ </p>
<p>Once the database format has stabilized, we will provide automatic upgrades.</p>
- <input id="check" type="checkbox" checked={this.state.checked} onChange={(e) => this.setState({checked: e.target.checked})} />{" "}
+ <input id="check"
+ type="checkbox"
+ checked={this.state.checked}
+ onChange={(e) => this.setState({checked: e.target.checked})} />{" "}
<label htmlFor="check">
I understand that I will lose all my data
</label>