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" />}>
|
<AppShell header={<HeaderTamplate title="Edit Intro" />}>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Text>v1.0.6</Text>
|
<Text>v1.0.7</Text>
|
||||||
{children}
|
{children}
|
||||||
</Stack>
|
</Stack>
|
||||||
</AppShell>
|
</AppShell>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ import _ from "lodash";
|
|||||||
import { MODEL_DEFAULT_MASTER } from "@/app_modules/models/model_default_master";
|
import { MODEL_DEFAULT_MASTER } from "@/app_modules/models/model_default_master";
|
||||||
import funEditInvestasi from "../fun/fun_edit_investasi";
|
import funEditInvestasi from "../fun/fun_edit_investasi";
|
||||||
import { useDisclosure, useWindowScroll } from "@mantine/hooks";
|
import { useDisclosure, useWindowScroll } from "@mantine/hooks";
|
||||||
|
import { test_server } from "./_makuro/test_server";
|
||||||
|
|
||||||
export default function EditIntroInvestasi({
|
export default function EditIntroInvestasi({
|
||||||
dataInvestasi,
|
dataInvestasi,
|
||||||
@@ -67,6 +68,9 @@ export default function EditIntroInvestasi({
|
|||||||
const fd = new FormData();
|
const fd = new FormData();
|
||||||
fd.append("file", fl as any);
|
fd.append("file", fl as any);
|
||||||
|
|
||||||
|
const test = await test_server();
|
||||||
|
console.log(test);
|
||||||
|
|
||||||
// await funEditInvestasi(fd, body).then(async (res) => {
|
// await funEditInvestasi(fd, body).then(async (res) => {
|
||||||
// res.status === 200
|
// res.status === 200
|
||||||
// ? (toast(res.message), router.back())
|
// ? (toast(res.message), router.back())
|
||||||
|
|||||||
Reference in New Issue
Block a user