@@ -145,6 +145,7 @@ export default function useEthereumTransaction(
146 setConfirmationProgress(0.0);
146 setConfirmationProgress(0.0);
147 setError(undefined);
147 setError(undefined);
148+ setState(STATE.BROADCASTED);
149 const rawTxs = signedTransactions.map(stx => hexify(stx.serialize()));
150 const rawTxs = signedTransactions.map(stx => hexify(stx.serialize()));
@@ -182,7 +183,6 @@ export default function useEthereumTransaction(
184 setTxHashes(txHashes);
185 setTxHashes(txHashes);
185− setState(STATE.BROADCASTED);
187 await timeout(PROGRESS_ANIMATION_DELAY_MS);
187 await timeout(PROGRESS_ANIMATION_DELAY_MS);