Skip to content

Commit

Permalink
Update transactions-factory.ts
Browse files Browse the repository at this point in the history
Change debounce to 1000ms from 2000ms
  • Loading branch information
seeker25 authored Nov 29, 2024
1 parent 3cf0551 commit 0abeb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-web/src/composables/transactions-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const useTransactions = () => {
console.error('Failed to get transaction list.', error)
}
transactions.loading = false
}, 2000, { leading: true, trailing: true }) as (filterField?: string, value?: any, viewAll?: boolean) => Promise<void>
}, 1000, { leading: true, trailing: true }) as (filterField?: string, value?: any, viewAll?: boolean) => Promise<void>

const getTransactionReport = async () => {
try {
Expand Down

0 comments on commit 0abeb48

Please sign in to comment.