fix: payjoin alert only show for onchain sends

This commit is contained in:
benalleng
2024-01-27 01:04:07 -05:00
committed by benthecarman
parent 9ab49a7e27
commit 6cd7708d9f

View File

@@ -804,7 +804,7 @@ export function Send() {
setChosenMethod={setSourceFromMethod}
/>
</Show>
<Show when={payjoinEnabled()}>
<Show when={payjoinEnabled() && source() === "onchain"}>
<InfoBox accent="green">
<p>{i18n.t("send.payjoin_send")}</p>
</InfoBox>