fix: pass all zap props from WindowRenderer to ZapWindow

WindowRenderer was only passing recipientPubkey and eventPointer,
dropping addressPointer, customTags, and relays. This caused
CLI flags like -T (custom tags) and -r (relays) to be ignored.

Now all parsed zap command props flow through to ZapWindow
and subsequently to createZapRequest.
This commit is contained in:
Claude
2026-01-19 10:55:10 +00:00
parent 8b02a8dde3
commit 86460c6c6b

View File

@@ -234,6 +234,9 @@ export function WindowRenderer({ window, onClose }: WindowRendererProps) {
<ZapWindow
recipientPubkey={window.props.recipientPubkey}
eventPointer={window.props.eventPointer}
addressPointer={window.props.addressPointer}
customTags={window.props.customTags}
relays={window.props.relays}
onClose={onClose}
/>
);