fix
Desc: - Perubahan pengambilan data dari API ke Function use server No issue
This commit is contained in:
@@ -7,3 +7,4 @@ export default function Layout({ children }: { children: any }) {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
9
src/app/dev/profile/create/[id]/page.tsx
Normal file
9
src/app/dev/profile/create/[id]/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CreateProfile } from "@/app_modules/katalog/profile";
|
||||
|
||||
export default async function Page({params}: {params: {id: string}}) {
|
||||
// console.log(params.id)
|
||||
|
||||
return <>
|
||||
<CreateProfile userId={params.id}/>
|
||||
</>
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import { CreateProfile } from "@/app_modules/katalog/profile";
|
||||
|
||||
export default async function Page() {
|
||||
return <>
|
||||
<CreateProfile/>
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user