fix: adjust modal layout, improve image ratio, remove price fields, update next.config

This commit is contained in:
2026-06-10 03:41:22 +03:00
parent e55074cf31
commit a09200ce63
7 changed files with 54 additions and 65 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ export async function addActivity(prevState: any, formData: FormData) {
lang: formData.get("lang") as string,
title: formData.get("title") as string,
description: formData.get("description") as string,
price: formData.get("price") as string,
price: (formData.get("price") as string) || "",
image: formData.get("image") as string,
badge: formData.get("badge") as string || null,
order: parseInt(formData.get("order") as string || "0", 10),
@@ -118,7 +118,7 @@ export async function updateActivity(prevState: any, formData: FormData) {
lang: formData.get("lang") as string,
title: formData.get("title") as string,
description: formData.get("description") as string,
price: formData.get("price") as string,
price: (formData.get("price") as string) || "",
image: formData.get("image") as string,
badge: formData.get("badge") as string || null,
order: parseInt(formData.get("order") as string || "0", 10),