clean up console messages

This commit is contained in:
keyan 2021-09-07 13:04:56 -05:00
parent 7ffb3fd18a
commit 968892b661
3 changed files with 3 additions and 4 deletions

View File

@ -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)
}
}
}, [])

View File

@ -4,7 +4,6 @@ import { useRouter } from 'next/router'
export default function Index () {
const router = useRouter()
console.log(router)
return (
<Layout>
<Items variables={{ sort: 'hot' }} rank key={router.query.key} />

View File

@ -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)
}
}, [])