diff --git a/wallets/client/components/form/hooks.js b/wallets/client/components/form/hooks.js index c00a2f5e..b5fcc990 100644 --- a/wallets/client/components/form/hooks.js +++ b/wallets/client/components/form/hooks.js @@ -98,7 +98,7 @@ export function useProtocolForm (protocol) { value = complementaryFormState?.config?.[field.name] } - if (protocol.name === 'LN_ADDR' && field.name === 'address') { + if (protocol.name === 'LN_ADDR' && field.name === 'address' && lud16Domain && value) { // automatically set lightning addresses from NWC urls if lud16 parameter is present if (nwcSendFormState?.config?.url) { const { lud16 } = parseNwcUrl(nwcSendFormState.config.url)