From a08c3bc01b11fbd0e3a243359befbe9fc909edf4 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 21 Jun 2016 13:18:32 -0700 Subject: Auto linted --- ui/app/first-time/create-vault-complete.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ui/app/first-time/create-vault-complete.js') diff --git a/ui/app/first-time/create-vault-complete.js b/ui/app/first-time/create-vault-complete.js index 9eceb4421..0ca0a1b22 100644 --- a/ui/app/first-time/create-vault-complete.js +++ b/ui/app/first-time/create-vault-complete.js @@ -6,20 +6,19 @@ const actions = require('../actions') module.exports = connect(mapStateToProps)(CreateVaultCompleteScreen) - inherits(CreateVaultCompleteScreen, Component) -function CreateVaultCompleteScreen() { +function CreateVaultCompleteScreen () { Component.call(this) } -function mapStateToProps(state) { +function mapStateToProps (state) { return { seed: state.appState.currentView.seedWords, cachedSeed: state.metamask.seedWords, } } -CreateVaultCompleteScreen.prototype.render = function() { +CreateVaultCompleteScreen.prototype.render = function () { var state = this.props var seed = state.seed || state.cachedSeed @@ -50,7 +49,7 @@ CreateVaultCompleteScreen.prototype.render = function() { style: { padding: '12px 20px 0px 20px', textAlign: 'center', - } + }, }, 'These 12 words can restore all of your MetaMask accounts for this vault.\nSave them somewhere safe and secret.'), h('textarea.twelve-word-phrase', { @@ -68,7 +67,7 @@ CreateVaultCompleteScreen.prototype.render = function() { ) } -CreateVaultCompleteScreen.prototype.confirmSeedWords = function() { +CreateVaultCompleteScreen.prototype.confirmSeedWords = function () { this.props.dispatch(actions.confirmSeedWords()) } -- cgit