From 8281216170f39568a383dc3d966eaea3dc6b06e0 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Fri, 29 Sep 2017 18:51:44 -0500 Subject: [PATCH] feature(payform): add loading selector and render loading bolt if true --- app/components/Form/PayForm.js | 3 +++ app/reducers/payform.js | 15 +++++++++++++++ app/reducers/transaction.js | 2 +- app/routes/app/containers/AppContainer.js | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/components/Form/PayForm.js b/app/components/Form/PayForm.js index 016cb702..ef10e966 100644 --- a/app/components/Form/PayForm.js +++ b/app/components/Form/PayForm.js @@ -2,6 +2,7 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import { FaBolt, FaChain } from 'react-icons/lib/fa' +import LoadingBolt from 'components/LoadingBolt' import CurrencyIcon from 'components/CurrencyIcon' import styles from './PayForm.scss' @@ -28,6 +29,7 @@ class PayForm extends Component { isLn, currentAmount, inputCaption, + showPayLoadingScreen, setPayAmount, setPayInput, @@ -37,6 +39,7 @@ class PayForm extends Component { return (
+ {showPayLoadingScreen && }