Fix Compres Gambar && seed gambar profile - landing page

This commit is contained in:
2025-09-12 11:55:40 +08:00
parent 6a7bd386ae
commit a5d841bb6b
65 changed files with 386 additions and 156 deletions

View File

@@ -23,7 +23,12 @@ type ProgramInovasiForm = Prisma.ProgramInovasiGetPayload<{
const programInovasi = proxy({
create: {
form: {} as ProgramInovasiForm,
form: {
name: "",
description: "",
imageId: "",
link: ""
} as ProgramInovasiForm,
loading: false,
async create() {
// Ensure all required fields are non-null