mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
format react with linter
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { connectLsp, lspId, lspInfo } from "@breeztech/react-native-breez-sdk"
|
||||
import { connectLsp, lspId, lspInfo } from '@breeztech/react-native-breez-sdk'
|
||||
|
||||
const exampleAutoConnect = async () => {
|
||||
// ANCHOR: get-lsp-info
|
||||
const id = await lspId()
|
||||
const info = await lspInfo()
|
||||
// ANCHOR_END: get-lsp-info
|
||||
// ANCHOR: get-lsp-info
|
||||
const id = await lspId()
|
||||
const info = await lspInfo()
|
||||
// ANCHOR_END: get-lsp-info
|
||||
}
|
||||
|
||||
const exampleManualConnect = async () => {
|
||||
// ANCHOR: connect-lsp
|
||||
const id = "your selected lsp id"
|
||||
await connectLsp(id)
|
||||
// ANCHOR_END: connect-lsp
|
||||
// ANCHOR: connect-lsp
|
||||
const id = 'your selected lsp id'
|
||||
await connectLsp(id)
|
||||
// ANCHOR_END: connect-lsp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user