Fix: UI components and form logic updates

This commit is contained in:
2025-12-03 21:48:28 +03:00
parent ee68deb4ce
commit 92c9d1fcdc
10 changed files with 563 additions and 38 deletions

View File

@@ -17,7 +17,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@
import { Textarea } from "@/components/ui/textarea"
import { createReservation } from "./actions"
import { useState } from "react"
import { useToast } from "@/hooks/use-toast" // Assuming we have this or will use alert
import { toast } from "sonner"
const formSchema = z.object({
hall_id: z.string().min(1, "Salon seçmelisiniz."),