Skip to content

Commit 6a95769

Browse files
committed
nit
1 parent 9b329fc commit 6a95769

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/transactions/Switch/SwitchActions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export const SwitchActions = ({
573573
} else {
574574
const tx = generateApproval(approvalData, { chainId, amount: amountToApprove });
575575
const txWithGasEstimation = await estimateGasLimit(tx, chainId);
576-
setApprovalTxState({ ...approvalTxState, loading: true });
576+
setApprovalTxState({ loading: true });
577577
const response = await sendTx(txWithGasEstimation);
578578
await response.wait(1);
579579
fetchApprovedAmount().then(() => {

0 commit comments

Comments
 (0)