Skip to content

Commit

Permalink
Increase pagination to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Apr 12, 2024
1 parent 239b73d commit 1a9b858
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/[locale]/(public)/e/[event]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Page() {

const locale = useLocale();
const order = useState<'desc' | 'asc'>('desc');
const pagination = usePagination({ defaultPageSize: 4 });
const pagination = usePagination({ defaultPageSize: 10 });
const { isPending, data } = useData({
slug,
order: order[0],
Expand Down Expand Up @@ -338,7 +338,6 @@ function useData({
);

if (!result?.[1] || !result?.[2] || !result?.[3]) return null;
console.log(result[6]);

return {
event: EventCanManage.parse(result[3]),
Expand Down

0 comments on commit 1a9b858

Please sign in to comment.