title: auto
des: auto note:auto
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
"use server";
|
||||
export async function test_server() {
|
||||
return "apa kabar";
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user