Skip to content

Commit

Permalink
fix: set backgroundLocation for send ordinal, closes #4562
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Dec 4, 2023
1 parent cdcc597 commit b104a48
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,14 @@ export function useSendInscriptionForm() {

navigate(
`/${RouteUrls.SendOrdinalInscription}/${RouteUrls.SendOrdinalInscriptionChooseFee}`,
{ state: { inscription, recipient: values.recipient, utxo } }
{
state: {
inscription,
recipient: values.recipient,
utxo,
backgroundLocation: { pathname: RouteUrls.Home },
},
}
);
},

Expand Down Expand Up @@ -115,6 +122,7 @@ export function useSendInscriptionForm() {
time,
feeRowValue,
signedTx: signedTx.extract(),
backgroundLocation: { pathname: RouteUrls.Home },
},
});
},
Expand Down

0 comments on commit b104a48

Please sign in to comment.