Skip to content

Commit

Permalink
fix: go back from btc and stx choose fee step
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Nov 12, 2024
1 parent 542ee27 commit 1079f1f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export function BtcSendForm() {
<Button
aria-busy={props.isValidating}
data-testid={SendCryptoAssetSelectors.PreviewSendTxBtn}
onClick={() => props.handleSubmit()}
type="submit"
>
Continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export function StacksCommonSendForm({
<Button
aria-busy={props.isValidating}
data-testid={SendCryptoAssetSelectors.PreviewSendTxBtn}
onClick={() => props.handleSubmit()}
type="submit"
fullWidth
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ export function useSendFormNavigate() {

return useMemo(
() => ({
backToSendForm(state: any) {
return navigate('../', { relative: 'path', replace: true, state });
},
toChooseTransactionFee(
isSendingMax: boolean,
utxos: UtxoResponseItem[],
values: BitcoinSendFormValues
) {
return navigate(RouteUrls.SendBtcChooseFee, {
replace: true,
state: {
isSendingMax,
utxos,
Expand All @@ -72,7 +68,6 @@ export function useSendFormNavigate() {
},
toConfirmAndSignStxTransaction(tx: StacksTransaction, showFeeChangeWarning: boolean) {
return navigate(RouteUrls.SendStxConfirmation, {
replace: true,
state: {
tx: bytesToHex(tx.serialize()),
showFeeChangeWarning,
Expand Down

0 comments on commit 1079f1f

Please sign in to comment.