Skip to content

Commit

Permalink
fix: payjoin alert only show for onchain sends
Browse files Browse the repository at this point in the history
  • Loading branch information
benalleng authored and benthecarman committed Jan 30, 2024
1 parent 9ab49a7 commit 6cd7708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6cd7708

Please sign in to comment.