enzostvs HF staff commited on
Commit
80222b4
1 Parent(s): 4201de5

fix infinite scroll

Browse files
Files changed (1) hide show
  1. app/_actions/logos.ts +1 -1
app/_actions/logos.ts CHANGED
@@ -15,7 +15,7 @@ export const getLastLogos = async () => {
15
  return images.map((image) => image.id);
16
  };
17
 
18
- const ITEMS_PER_PAGE = 12;
19
 
20
  export const getLogos = async (page: number = 0) => {
21
  const images = await prisma.logo.findMany({
 
15
  return images.map((image) => image.id);
16
  };
17
 
18
+ const ITEMS_PER_PAGE = 24;
19
 
20
  export const getLogos = async (page: number = 0) => {
21
  const images = await prisma.logo.findMany({