Skip to content

Commit 918f056

Browse files
committed
clean up
1 parent fedfe7e commit 918f056

File tree

1 file changed

+0
-4
lines changed
  • packages/checkout/src/views/Checkout/PaymentMethodSelect/PayWithCrypto

1 file changed

+0
-4
lines changed

packages/checkout/src/views/Checkout/PaymentMethodSelect/PayWithCrypto/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ export const PayWithCryptoTab = ({ skipOnCloseCallback, isSwitchingChainRef }: P
247247

248248
setIsPurchasing(true)
249249
setIsError(false)
250-
resetTransactionCounter()
251250

252251
try {
253252
if (connectedChainId != chainId) {
@@ -387,7 +386,6 @@ export const PayWithCryptoTab = ({ skipOnCloseCallback, isSwitchingChainRef }: P
387386

388387
setIsPurchasing(true)
389388
setIsError(false)
390-
resetTransactionCounter()
391389

392390
try {
393391
if (connectedChainId != chainId) {
@@ -473,8 +471,6 @@ export const PayWithCryptoTab = ({ skipOnCloseCallback, isSwitchingChainRef }: P
473471
if (isLastTransaction) {
474472
onSuccess?.(currentTxHash)
475473
txHash = currentTxHash
476-
} else {
477-
// increment tx amount counter.....
478474
}
479475
}
480476

0 commit comments

Comments
 (0)