From 161fec013326c4069c630e70ebe4ba282dc0f736 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Wed, 5 Sep 2018 10:40:21 -0500 Subject: [PATCH] fix(pay): dont focus on value input --- app/components/Form/Pay.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/components/Form/Pay.js b/app/components/Form/Pay.js index 834d44fc..9e7e726a 100644 --- a/app/components/Form/Pay.js +++ b/app/components/Form/Pay.js @@ -14,17 +14,11 @@ import styles from './Pay.scss' class Pay extends Component { componentDidUpdate(prevProps) { const { - isOnchain, isLn, payform: { payInput }, fetchInvoice } = this.props - // If on-chain, focus on amount to let user know it's editable - if (isOnchain) { - this.amountInput.focus() - } - // If LN go retrieve invoice details if (prevProps.payform.payInput !== payInput && isLn) { fetchInvoice(payInput)