Fix file image

Deskripsi:
- Ukuran file yang di ambil dari server wibu di batasi menjadi maksimal hanya 500kb
This commit is contained in:
2024-12-12 00:49:10 +08:00
parent 01c0e87cd0
commit 9046316b9e
24 changed files with 84 additions and 89 deletions

View File

@@ -4,7 +4,7 @@ export default async function Page({ params }: { params: { id: string } }) {
let portofolioId = params.id;
return (
<>
<Map_CreateNewPin portofolioId={portofolioId}/>
<Map_CreateNewPin portofolioId={portofolioId} />
</>
);
}

View File

@@ -1,11 +1,13 @@
import { UploadFotoProfile } from "@/app_modules/katalog/profile";
import { Profile_getOneById } from "@/app_modules/katalog/profile/fun/get/get_one_profile";
export default async function Page({params}: {params: {id: string}}) {
let profileId = params.id
const dataProfile = await Profile_getOneById(profileId)
export default async function Page({ params }: { params: { id: string } }) {
let profileId = params.id;
const dataProfile = await Profile_getOneById(profileId);
return <>
<UploadFotoProfile dataProfile={dataProfile as any}/>
return (
<>
<UploadFotoProfile dataProfile={dataProfile as any} />
</>
}
);
}