Skip to content

Commit

Permalink
chore(example): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ovitrif committed Feb 14, 2024
1 parent 234be5b commit b28d68a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example/Dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ const Dev = (): ReactElement => {
},
{
text: `${amountSats} sats`,
onPress: async (): Promise<void> => createInvoice(amountSats),
onPress: async (): Promise<void> =>
createInvoice(amountSats),
},
{
text: "Don't specify",
Expand Down Expand Up @@ -530,7 +531,9 @@ const Dev = (): ReactElement => {
onPress: async (): Promise<void> => {
const pay = await lm.payWithTimeout({
paymentRequest,
amountSats: amount_satoshis ? undefined : ownAmountSats,
amountSats: amount_satoshis
? undefined
: ownAmountSats,
timeout: 20000,
});
if (pay.isErr()) {
Expand Down

0 comments on commit b28d68a

Please sign in to comment.