feat : update validation and color

This commit is contained in:
lukman
2024-08-27 13:34:12 +08:00
parent 787e58b7eb
commit a1f4df02af
44 changed files with 503 additions and 354 deletions

View File

@@ -8,7 +8,7 @@ export const funGetAllProject = async (path?: string) => {
export const funCreateProject = async (data: IFormProject) => {
if (data.title.length < 3)
return { success: false, message: 'Nama proyek minimal 3 karakter' }
return { success: false, message: 'Nama Kegiatan minimal 3 karakter' }
const response = await fetch(`/api/project`, {
method: "POST",