Fix: Db Profile
Deskripsi: - Menghapus field imagesId dan imagesBackgroundId - Menhapus table backgroundImage - Menghapus component avatar dan header card yang lama ## No Issue
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
|
||||
import { EditProfileLayout } from "@/app_modules/katalog/profile";
|
||||
|
||||
export default async function Layout({
|
||||
@@ -8,8 +7,6 @@ export default async function Layout({
|
||||
children: any;
|
||||
params: { id: string };
|
||||
}) {
|
||||
let profileId = params.id;
|
||||
|
||||
return (
|
||||
<>
|
||||
<EditProfileLayout>{children}</EditProfileLayout>
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
|
||||
|
||||
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 data = await funGetUserProfile(params.id);
|
||||
const dataProfile = await Profile_getOneProfileAndUserById(profileId)
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user