We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918f056 commit 00167c1Copy full SHA for 00167c1
packages/checkout/src/hooks/useTransactionCounter.ts
@@ -15,7 +15,7 @@ export const useTransactionCounter = () => {
15
}
16
17
const incrementTransactionCount = () => {
18
- setCurrentTransactionNumber(currentTransactionNumber + 1)
+ setCurrentTransactionNumber(prev => prev + 1)
19
20
21
const isTransactionCounterInitialized = maxTransactions > 0
0 commit comments