adding all changes

This commit is contained in:
ashprit
2024-10-27 01:55:58 +00:00
parent 002dd73690
commit cce9632b5f
4 changed files with 221 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ import { buyHandler } from '@/lib/buyHandler';
import { useToast } from '@/hooks/use-toast';
import NumberPicker from './TicketButton';
interface EventDescriptionProps {
export interface EventDescriptionProps {
eventDetails: {
EventID: number;
name: string;

View File

@@ -58,7 +58,7 @@ const eventSchema = z
});
// Define the TypeScript type based on the Zod schema
type EventFormData = z.infer<typeof eventSchema>;
export type EventFormData = z.infer<typeof eventSchema>;
interface EventFormProps {
onSubmit: (data: EventFormData) => void;