Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
chore: change transactions default limit to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jul 5, 2024
1 parent 0dff067 commit f877d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const pollConfiguration: SWRConfiguration = {
refreshInterval: 3000,
};

export function useTransactions(poll = false, limit = 20, page = 1) {
export function useTransactions(poll = false, limit = 100, page = 1) {
const offset = (page - 1) * limit;
return useSWR<Transaction[]>(
`/api/transactions?limit=${limit}&offset=${offset}`,
Expand Down

0 comments on commit f877d7c

Please sign in to comment.