aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/config.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-02-01 03:40:33 +0800
committerGitHub <noreply@github.com>2018-02-01 03:40:33 +0800
commitf16535619692dd7f1c24bcc07875d60804d50ee2 (patch)
tree969e2c3b688b4033110bac28520901c2493e04de /ui/app/config.js
parent1a32690a12e053a99396b2f2da1dc08eb03517f2 (diff)
parent94dd77d194de97b59c0a191a7439d96ff255bf41 (diff)
downloadtangerine-wallet-browser-f16535619692dd7f1c24bcc07875d60804d50ee2.tar.gz
tangerine-wallet-browser-f16535619692dd7f1c24bcc07875d60804d50ee2.tar.zst
tangerine-wallet-browser-f16535619692dd7f1c24bcc07875d60804d50ee2.zip
Merge pull request #3155 from brunobar79/feature/reset-account
Added reset account feature
Diffstat (limited to 'ui/app/config.js')
-rw-r--r--ui/app/config.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/app/config.js b/ui/app/config.js
index 9cb2a0aad..9b9cac4bf 100644
--- a/ui/app/config.js
+++ b/ui/app/config.js
@@ -55,6 +55,7 @@ ConfigScreen.prototype.render = function () {
h('.flex-space-around', {
style: {
padding: '20px',
+ overflow: 'auto',
},
}, [
@@ -142,6 +143,24 @@ ConfigScreen.prototype.render = function () {
}, 'Reveal Seed Words'),
]),
+ h('hr.horizontal-line'),
+
+ h('div', {
+ style: {
+ marginTop: '20px',
+ },
+ }, [
+ h('button', {
+ style: {
+ alignSelf: 'center',
+ },
+ onClick (event) {
+ event.preventDefault()
+ state.dispatch(actions.resetAccount())
+ },
+ }, 'Reset Account'),
+ ]),
+
]),
]),
])