title: auto

des: auto
note:auto
This commit is contained in:
2023-11-09 14:57:49 +08:00
parent 4de3d8d43c
commit 0fcd238d9b
3 changed files with 7 additions and 7 deletions

View File

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

View File

@@ -67,11 +67,11 @@ export default function EditIntroInvestasi({
const fd = new FormData();
fd.append("file", fl as any);
await funEditInvestasi(fd, body).then(async (res) => {
res.status === 200
? (toast(res.message), router.back())
: toast(res.message);
});
// await funEditInvestasi(fd, body).then(async (res) => {
// res.status === 200
// ? (toast(res.message), router.back())
// : toast(res.message);
// });
}
return (

View File

@@ -4,7 +4,7 @@ import prisma from "@/app/lib/prisma";
import { MODEL_Investasi } from "../model/model_investasi";
import _ from "lodash";
// import { v4 } from "uuid";
import fs from "fs";
// import fs from "fs";
// import { revalidatePath } from "next/cache";
// import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";