fix: donasi

deksripsi:
- fix perubahab tinggi scroll
This commit is contained in:
2025-06-11 11:00:21 +08:00
parent 1f1cca3520
commit f2c694022e
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ export async function GET(
const { id } = params; const { id } = params;
const { searchParams } = new URL(request.url); const { searchParams } = new URL(request.url);
const page = Number(searchParams.get("page")); const page = Number(searchParams.get("page"));
const takeData = 3; const takeData = 10;
const skipData = page * takeData - takeData; const skipData = page * takeData - takeData;
if (!page) { if (!page) {

View File

@@ -61,7 +61,7 @@ export function Donasi_ViewDaftarKabar() {
) : ( ) : (
<Box> <Box>
<ScrollOnly <ScrollOnly
height="22vh" height="90vh"
renderLoading={() => ( renderLoading={() => (
<Center> <Center>
<ComponentGlobal_Loader size={25} /> <ComponentGlobal_Loader size={25} />

View File

@@ -65,7 +65,7 @@ export function Donasi_ViewRekapKabar() {
) : ( ) : (
<Box> <Box>
<ScrollOnly <ScrollOnly
height="25vh" height="85vh"
renderLoading={() => ( renderLoading={() => (
<Center> <Center>
<ComponentGlobal_Loader size={25} /> <ComponentGlobal_Loader size={25} />