From 8a6162e8d246ad6c8335aac9510e5cb68985ff32 Mon Sep 17 00:00:00 2001 From: "Jyotirmoy Bandyopadhyaya [Bravo68]" Date: Thu, 25 Jan 2024 11:39:46 +0530 Subject: [PATCH] disable all passes accept offline passes --- app/[ticketType]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[ticketType]/page.tsx b/app/[ticketType]/page.tsx index 0f282f7..e3e52af 100644 --- a/app/[ticketType]/page.tsx +++ b/app/[ticketType]/page.tsx @@ -8,7 +8,7 @@ interface TicketPageProps { } } -const ticketTypes = ['student_pass', 'standard_pass', 'professional_pass'] +const ticketTypes = ['offline_pass'] function TicketPage({ params: { ticketType } }: TicketPageProps) { if(!ticketTypes.includes(ticketType)){