From 4ecd28ca9b50aab4363339405d90a2bcc511bf26 Mon Sep 17 00:00:00 2001 From: Jacky Chan Date: Tue, 29 Aug 2017 03:48:43 -0700 Subject: Hide Warning after changing import options --- mascara/src/app/first-time/import-account-screen.js | 11 ++++++++--- mascara/src/app/first-time/index.js | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'mascara') diff --git a/mascara/src/app/first-time/import-account-screen.js b/mascara/src/app/first-time/import-account-screen.js index 17be90c2a..a7af42cd7 100644 --- a/mascara/src/app/first-time/import-account-screen.js +++ b/mascara/src/app/first-time/import-account-screen.js @@ -1,6 +1,6 @@ import React, {Component, PropTypes} from 'react' import classnames from 'classnames' -import {importNewAccount} from '../../../../ui/app/actions' +import {importNewAccount, hideWarning} from '../../../../ui/app/actions' import {connect} from 'react-redux'; const Input = ({ label, placeholder, onChange, errorMessage, type = 'text' }) => ( @@ -29,6 +29,7 @@ class ImportAccountScreen extends Component { back: PropTypes.func.isRequired, next: PropTypes.func.isRequired, importNewAccount: PropTypes.func.isRequired, + hideWarning: PropTypes.func.isRequired, }; state = { @@ -152,7 +153,10 @@ class ImportAccountScreen extends Component {