{isLoading
- ? Array.from({ length: 33 }, (_, i) => (
+ ? Array.from({ length: PAGE_SIZE }, (_, i) => (
diff --git a/src/app/explorer/constants.ts b/src/app/explorer/constants.ts
index f9efd9b7ba..0a155f3509 100644
--- a/src/app/explorer/constants.ts
+++ b/src/app/explorer/constants.ts
@@ -1 +1 @@
-export const pageSize = 24;
+export const PAGE_SIZE = 24;
diff --git a/src/app/explorer/fetchers.ts b/src/app/explorer/fetchers.ts
index 38eb89be73..b4b3811a9c 100644
--- a/src/app/explorer/fetchers.ts
+++ b/src/app/explorer/fetchers.ts
@@ -1,12 +1,12 @@
import { env } from "@/lib/env";
-import { pageSize } from "./constants";
+import { PAGE_SIZE } from "./constants";
export const getGuildSearch =
(search = "") =>
async ({ pageParam }: { pageParam: number }) => {
return (
await fetch(
- `${env.NEXT_PUBLIC_API}/guild/search?page=${pageParam}&pageSize=${pageSize}&search=${search}`,
+ `${env.NEXT_PUBLIC_API}/guild/search?page=${pageParam}&pageSize=${PAGE_SIZE}&search=${search}`,
)
).json() as Promise
>;
};