title: auto
des: auto note:auto
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user