title: auto

des: auto
note:auto
This commit is contained in:
2023-11-09 15:03:56 +08:00
parent 94dd56f8ad
commit 13ab33d175
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
"use server";
export async function test_server() {
return "apa kabar";
}

View File

@@ -13,7 +13,7 @@ export default function LayoutEditIntroInvestasi({
<>
<AppShell header={<HeaderTamplate title="Edit Intro" />}>
<Stack>
<Text>v1.0.6</Text>
<Text>v1.0.7</Text>
{children}
</Stack>
</AppShell>

View File

@@ -32,6 +32,7 @@ import _ from "lodash";
import { MODEL_DEFAULT_MASTER } from "@/app_modules/models/model_default_master";
import funEditInvestasi from "../fun/fun_edit_investasi";
import { useDisclosure, useWindowScroll } from "@mantine/hooks";
import { test_server } from "./_makuro/test_server";
export default function EditIntroInvestasi({
dataInvestasi,
@@ -67,6 +68,9 @@ export default function EditIntroInvestasi({
const fd = new FormData();
fd.append("file", fl as any);
const test = await test_server();
console.log(test);
// await funEditInvestasi(fd, body).then(async (res) => {
// res.status === 200
// ? (toast(res.message), router.back())