From 34387e8b62c0f8c1f639424f245a991145e9f558 Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Mon, 13 Nov 2023 21:53:26 +0100 Subject: [PATCH] format react native --- snippets/react-native/list_payments.ts | 2 +- snippets/react-native/send_payment.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/react-native/list_payments.ts b/snippets/react-native/list_payments.ts index 61b0353..74f2f0d 100644 --- a/snippets/react-native/list_payments.ts +++ b/snippets/react-native/list_payments.ts @@ -1,7 +1,7 @@ import { listPayments, PaymentTypeFilter -} from "@breeztech/react-native-breez-sdk" +} from '@breeztech/react-native-breez-sdk' const exampleListPayments = async () => { // ANCHOR: list-payments diff --git a/snippets/react-native/send_payment.ts b/snippets/react-native/send_payment.ts index f7f6b43..2093b50 100644 --- a/snippets/react-native/send_payment.ts +++ b/snippets/react-native/send_payment.ts @@ -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 }