diff --git a/components/lnqr.js b/components/lnqr.js index de4124c6..2c69f5f7 100644 --- a/components/lnqr.js +++ b/components/lnqr.js @@ -11,9 +11,9 @@ export default function LnQR ({ value, webLn, statusVariant, status }) { if (webLn) { try { const provider = await requestProvider() - provider.sendPayment(value) + await provider.sendPayment(value) } catch (e) { - console.log(e) + console.log(e.message) } } }, []) diff --git a/pages/index.js b/pages/index.js index d8090bfd..340a027c 100644 --- a/pages/index.js +++ b/pages/index.js @@ -4,7 +4,6 @@ import { useRouter } from 'next/router' export default function Index () { const router = useRouter() - console.log(router) return ( diff --git a/pages/wallet.js b/pages/wallet.js index 62057630..37c86a3c 100644 --- a/pages/wallet.js +++ b/pages/wallet.js @@ -127,7 +127,7 @@ export function WithdrawlForm () { const { data } = await createWithdrawl({ variables: { invoice, maxFee: MAX_FEE_DEFAULT } }) router.push(`/withdrawals/${data.createWithdrawl.id}`) } catch (e) { - console.log(e) + console.log(e.message) } }, [])