fix profile
deskripsi: - fix edit profile: server action to API
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
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);
|
||||
export default async function Page() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<EditProfile data={dataProfile as any} />
|
||||
<EditProfile />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user