# fix
- Ganti Appshell ke tamplate buatan sendiri pada Investasi ## No Issuee
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
"use client"
|
||||
"use client";
|
||||
|
||||
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"
|
||||
import { AppShell } from "@mantine/core"
|
||||
import React from "react"
|
||||
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
|
||||
import { AppShell } from "@mantine/core";
|
||||
import React from "react";
|
||||
|
||||
export default function LayoutDetailReviewInvestasi({children}: {children: React.ReactNode}){
|
||||
return<>
|
||||
|
||||
<AppShell
|
||||
header={
|
||||
<ComponentGlobal_HeaderTamplate title="Detail Review"/>
|
||||
}
|
||||
>
|
||||
export default function LayoutDetailReviewInvestasi({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<AppComponentGlobal_LayoutTamplate
|
||||
header={<ComponentGlobal_HeaderTamplate title="Detail Review" />}
|
||||
>
|
||||
{children}
|
||||
</AppShell>
|
||||
|
||||
</AppComponentGlobal_LayoutTamplate>
|
||||
</>
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user