diff --git a/src/app/common/hooks/use-submit-stx-transaction.ts b/src/app/common/hooks/use-submit-stx-transaction.ts index d58997dcec5..9b070c2cafd 100644 --- a/src/app/common/hooks/use-submit-stx-transaction.ts +++ b/src/app/common/hooks/use-submit-stx-transaction.ts @@ -52,8 +52,7 @@ export function useSubmitTransactionCallback({ loadingKey }: UseSubmitTransactio rawTx: bytesToHex(transaction.serialize()), txId: safelyFormatHexTxid(response.txid), }); - await delay(500); - toast.success('Transaction submitted!'); + await delay(500); void analytics.track('broadcast_transaction', { symbol: 'stx' }); diff --git a/src/app/features/dialogs/increase-fee-dialog/components/increase-fee-actions.tsx b/src/app/features/dialogs/increase-fee-dialog/components/increase-fee-actions.tsx index 170855c8486..e9bd5aa9bfe 100644 --- a/src/app/features/dialogs/increase-fee-dialog/components/increase-fee-actions.tsx +++ b/src/app/features/dialogs/increase-fee-dialog/components/increase-fee-actions.tsx @@ -5,11 +5,12 @@ import { useWalletType } from '@app/common/use-wallet-type'; import { Button } from '@app/ui/components/button/button'; interface IncreaseFeeActionsProps { - isDisabled: boolean; + isDisabled?: boolean; + isBroadcasting?: boolean; onCancel(): void; } export function IncreaseFeeActions(props: IncreaseFeeActionsProps) { - const { onCancel, isDisabled } = props; + const { onCancel, isDisabled, isBroadcasting } = props; const { handleSubmit } = useFormikContext(); const { isLoading } = useLoading(LoadingKeys.INCREASE_FEE_DRAWER); @@ -25,9 +26,10 @@ export function IncreaseFeeActions(props: IncreaseFeeActionsProps) {