mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-19 07:14:22 +01:00
simple text labels for lightning
This commit is contained in:
@@ -52,7 +52,9 @@ type ReceiveState = "edit" | "show" | "paid"
|
||||
type PaidState = "lightning_paid" | "onchain_paid";
|
||||
|
||||
function tagItemsToLabels(items: TagItem[]) {
|
||||
return items.map(item => item.kind === "contact" ? item.id : item.name)
|
||||
const labels = items.map(item => item.kind === "contact" ? item.id : item.name)
|
||||
console.log("Labels", labels)
|
||||
return labels;
|
||||
}
|
||||
|
||||
export default function Receive() {
|
||||
|
||||
Reference in New Issue
Block a user