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