Fix: UI components and form logic updates
This commit is contained in:
@@ -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."),
|
||||
|
||||
Reference in New Issue
Block a user