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" />}>
|
<AppShell header={<HeaderTamplate title="Edit Intro" />}>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Text>v1.0.4</Text>
|
<Text>v1.0.5</Text>
|
||||||
{children}
|
{children}
|
||||||
</Stack>
|
</Stack>
|
||||||
</AppShell>
|
</AppShell>
|
||||||
|
|||||||
@@ -67,11 +67,11 @@ export default function EditIntroInvestasi({
|
|||||||
const fd = new FormData();
|
const fd = new FormData();
|
||||||
fd.append("file", fl as any);
|
fd.append("file", fl as any);
|
||||||
|
|
||||||
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())
|
||||||
: toast(res.message);
|
// : toast(res.message);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import prisma from "@/app/lib/prisma";
|
|||||||
import { MODEL_Investasi } from "../model/model_investasi";
|
import { MODEL_Investasi } from "../model/model_investasi";
|
||||||
import _ from "lodash";
|
import _ from "lodash";
|
||||||
// import { v4 } from "uuid";
|
// import { v4 } from "uuid";
|
||||||
import fs from "fs";
|
// import fs from "fs";
|
||||||
// import { revalidatePath } from "next/cache";
|
// import { revalidatePath } from "next/cache";
|
||||||
// import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
|
// import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user