- {mergedPaymentMethods.map((method, idx) => {
- const authority = method.authority
- const paytoUri = method.payto
- const isLightning = method.type === 'lightning'
- return (
-
-
{method.displayType}
- {authority && (
-
- {isLightning &&
}
- {isLightning && pubkey ? (
-
- ) : paytoUri ? (
-
e.stopPropagation()}
- >
- {authority}
-
- ) : (
-
{authority}
- )}
-
- )}
- {(method.currency || (method.minAmount !== undefined && method.maxAmount !== undefined)) && (
-
- {method.currency && ({method.currency})}
- {method.minAmount !== undefined && method.maxAmount !== undefined && (
-
- {method.minAmount}-{method.maxAmount}
-
- )}
-
- )}
-
- )
- })}
+ {mergedPaymentMethods.map((method, idx) => (
+
+
{method.displayType}
+ {method.authority && (
+
+
setOpenZapDialog(true) : undefined}
+ className="hover:underline break-all min-w-0 text-primary flex-1"
+ >
+ {method.authority}
+
+
+
+ )}
+ {(method.currency || (method.minAmount !== undefined && method.maxAmount !== undefined)) && (
+
+ {method.currency && ({method.currency})}
+ {method.minAmount !== undefined && method.maxAmount !== undefined && (
+
+ {method.minAmount}-{method.maxAmount}
+
+ )}
+
+ )}
+
+ ))}