Fix file image
Deskripsi: - Ukuran file yang di ambil dari server wibu di batasi menjadi maksimal hanya 500kb
This commit is contained in:
@@ -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} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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} />
|
||||
</>
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user