title: auto

des: auto
note:auto
This commit is contained in:
2023-11-09 15:12:52 +08:00
parent 13ab33d175
commit 3f31ea20fa
4 changed files with 10 additions and 3 deletions

View File

@@ -5,15 +5,17 @@ import { AppShell, Stack, Text } from "@mantine/core";
import React from "react";
export default function LayoutEditIntroInvestasi({
onUpdate,
children,
}: {
onUpdate: () => Promise<string>;
children: React.ReactNode;
}) {
return (
<>
<AppShell header={<HeaderTamplate title="Edit Intro" />}>
<Stack>
<Text>v1.0.7</Text>
<Text>v1.0.8</Text>
{children}
</Stack>
</AppShell>

View File

@@ -35,11 +35,13 @@ import { useDisclosure, useWindowScroll } from "@mantine/hooks";
import { test_server } from "./_makuro/test_server";
export default function EditIntroInvestasi({
onUp,
dataInvestasi,
listPencarian,
listPeriode,
listPembagian,
}: {
onUp: () => Promise<string>;
dataInvestasi: MODEL_Investasi;
listPencarian: MODEL_DEFAULT_MASTER[];
listPeriode: MODEL_DEFAULT_MASTER[];
@@ -68,7 +70,7 @@ export default function EditIntroInvestasi({
const fd = new FormData();
fd.append("file", fl as any);
const test = await test_server();
const test = await onUp();
console.log(test);
// await funEditInvestasi(fd, body).then(async (res) => {