refactor
This commit is contained in:
parent
28ec943a52
commit
78725c1d14
45 changed files with 698 additions and 766 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { TProfile } from '@/types'
|
||||
import { Invoice } from '@getalby/lightning-tools'
|
||||
import { isEmail } from './common'
|
||||
import { isEmail } from './utils'
|
||||
|
||||
export function getAmountFromInvoice(invoice: string): number {
|
||||
const _invoice = new Invoice({ pr: invoice }) // TODO: need to validate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue