format react native

This commit is contained in:
Jesse de Wit
2023-11-13 21:53:26 +01:00
committed by ok300
parent 936e92923b
commit 34387e8b62
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
import { sendPayment } from "@breeztech/react-native-breez-sdk"
import { sendPayment } from '@breeztech/react-native-breez-sdk'
const exampleSendLightningPayment = async () => {
// ANCHOR: send-payment
const bolt11 = "bolt11 invoice"
const bolt11 = 'bolt11 invoice'
// The `amountMsat` param is optional and should only passed if the bolt11 doesn't specify an amount.
// The amountMsat is required in case an amount is not specified in the bolt11 invoice'.
const amountMsat = 3000000
const response = await sendPayment({bolt11, amountMsat})
const response = await sendPayment({ bolt11, amountMsat })
// ANCHOR_END: send-payment
}