clean up console messages
This commit is contained in:
parent
7ffb3fd18a
commit
968892b661
|
@ -11,9 +11,9 @@ export default function LnQR ({ value, webLn, statusVariant, status }) {
|
||||||
if (webLn) {
|
if (webLn) {
|
||||||
try {
|
try {
|
||||||
const provider = await requestProvider()
|
const provider = await requestProvider()
|
||||||
provider.sendPayment(value)
|
await provider.sendPayment(value)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e.message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { useRouter } from 'next/router'
|
||||||
|
|
||||||
export default function Index () {
|
export default function Index () {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
console.log(router)
|
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<Items variables={{ sort: 'hot' }} rank key={router.query.key} />
|
<Items variables={{ sort: 'hot' }} rank key={router.query.key} />
|
||||||
|
|
|
@ -127,7 +127,7 @@ export function WithdrawlForm () {
|
||||||
const { data } = await createWithdrawl({ variables: { invoice, maxFee: MAX_FEE_DEFAULT } })
|
const { data } = await createWithdrawl({ variables: { invoice, maxFee: MAX_FEE_DEFAULT } })
|
||||||
router.push(`/withdrawals/${data.createWithdrawl.id}`)
|
router.push(`/withdrawals/${data.createWithdrawl.id}`)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e.message)
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue