Skip to content

Commit

Permalink
fix: <TicketPlanCard> ticket url
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHosseinKarimi committed Jan 28, 2024
1 parent fb8641f commit b480744
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/ConferenceTicket/TicketPlanCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { cn } from "@/utils/styles";
import Link from "next/link";
import { env } from "process";
import { ReactNode } from "react";

interface TicketPlanCardProps {
Expand All @@ -19,7 +20,7 @@ interface TicketPlanCardProps {
const TicketPlanCard = (props: TicketPlanCardProps) => {
return (
<Link
href="#?"
href={env.TICKET_URL ?? "#?"}
target="_blank"
className={cn({
"pointer-events-none": props.soldOut,
Expand Down

0 comments on commit b480744

Please sign in to comment.