Fix profile
Deskripsi: - Fix load image saat di buka
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
|
||||
import EditProfile from "@/app_modules/katalog/profile/edit/view";
|
||||
import { Profile_getOneProfileAndUserById } from "@/app_modules/katalog/profile/fun/get/get_one_user_profile";
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
let profileId = params.id
|
||||
const dataProfile = await Profile_getOneProfileAndUserById(profileId)
|
||||
let profileId = params.id;
|
||||
const dataProfile = await Profile_getOneProfileAndUserById(profileId);
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* {JSON.stringify(data)} */}
|
||||
<EditProfile data={dataProfile as any} />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user