fix background update
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import { Profile_getOneById } from "@/app_modules/katalog/profile/fun/get/get_one_profile"
|
||||
import Profile_UpdateFotoBackground from "@/app_modules/katalog/profile/upload/foto_background"
|
||||
|
||||
export default async function Page({params}:{params: {id: string}}) {
|
||||
let profileId = params.id
|
||||
const dataProfile = await Profile_getOneById(profileId)
|
||||
|
||||
return <>
|
||||
<Profile_UpdateFotoBackground dataProfile={dataProfile as any}/>
|
||||
export default async function Page() {
|
||||
return (
|
||||
<>
|
||||
<Profile_UpdateFotoBackground />
|
||||
</>
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
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() {
|
||||
return (
|
||||
<>
|
||||
<UploadFotoProfile dataProfile={dataProfile as any} />
|
||||
<UploadFotoProfile />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user