From a727e89e106fa529b4b25a64ca7c1751cf3fc85a Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 25 Jul 2018 12:45:28 -0500 Subject: [PATCH] Remove debug line, add Form components --- src/renderer/component/splash/view.jsx | 1 - .../modal/modalWalletDecrypt/view.jsx | 24 ++--- .../modal/modalWalletEncrypt/view.jsx | 94 ++++++++++--------- src/renderer/modal/modalWalletUnlock/view.jsx | 44 ++++----- 4 files changed, 84 insertions(+), 79 deletions(-) diff --git a/src/renderer/component/splash/view.jsx b/src/renderer/component/splash/view.jsx index 79bb92ffa..504eced07 100644 --- a/src/renderer/component/splash/view.jsx +++ b/src/renderer/component/splash/view.jsx @@ -38,7 +38,6 @@ export class SplashScreen extends React.PureComponent { updateStatus() { Lbry.status().then(status => { this._updateStatusCallback(status); - window.status = status; }); } diff --git a/src/renderer/modal/modalWalletDecrypt/view.jsx b/src/renderer/modal/modalWalletDecrypt/view.jsx index 0452d7956..21e742725 100644 --- a/src/renderer/modal/modalWalletDecrypt/view.jsx +++ b/src/renderer/modal/modalWalletDecrypt/view.jsx @@ -1,6 +1,6 @@ // @flow import React from 'react'; -import { FormRow, FormField } from 'component/common/form'; +import { Form, FormRow, FormField } from 'component/common/form'; import { Modal } from 'modal/modal'; import Button from 'component/button'; @@ -43,16 +43,18 @@ class ModalWalletDecrypt extends React.PureComponent { onConfirmed={() => this.submitDecryptForm()} onAborted={closeModal} > - {__( - 'Your wallet has been encrypted with a local password, performing this action will remove this password.' - )} - -