fix
Desc: - Perubahan minor No issue
This commit is contained in:
9
src/app/dev/katalog/profile/edit/layout.tsx
Normal file
9
src/app/dev/katalog/profile/edit/layout.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { EditProfileLayout } from "@/app_modules/katalog/profile";
|
||||
|
||||
export default function Layout({ children }: { children: any }) {
|
||||
return (
|
||||
<>
|
||||
<EditProfileLayout>{children}</EditProfileLayout>
|
||||
</>
|
||||
);
|
||||
}
|
||||
13
src/app/dev/katalog/profile/edit/page.tsx
Normal file
13
src/app/dev/katalog/profile/edit/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { getProfile } from "@/app_modules/katalog/profile";
|
||||
import EditProfile from "@/app_modules/katalog/profile/edit/view";
|
||||
|
||||
export default async function Page() {
|
||||
const data = await getProfile();
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* {JSON.stringify(data)} */}
|
||||
<EditProfile data={data} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,7 +1,12 @@
|
||||
import { getProfile } from "@/app_modules/katalog/profile";
|
||||
import { KatalogView } from "@/app_modules/katalog/view";
|
||||
|
||||
export default async function Page() {
|
||||
return <>
|
||||
<KatalogView/>
|
||||
const data = await getProfile();
|
||||
return (
|
||||
<>
|
||||
{/* {JSON.stringify(data)} */}
|
||||
<KatalogView />
|
||||
</>
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user