Skip to content

Commit

Permalink
fix: show hotel name in ticket card
Browse files Browse the repository at this point in the history
  • Loading branch information
rezankv committed Jan 22, 2024
1 parent 4f59500 commit ead4625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/TicketsSection/TicketCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const TicketCard = ({ ticket }: TicketCardProps) => {
{ticket.type === "PLACE" ? (
<div className="w-full">
<div className="mt-2 flex justify-between">
<span className=" text-2xl font-semibold text-zinc-300 md:text-start md:text-3xl"></span>
<span className=" text-2xl font-semibold text-zinc-300 md:text-start md:text-3xl">{ticket.hotel.name}</span>
<span className="text-xl text-yellow-500 md:hidden">۵ ستاره</span>
<div className=" hidden md:flex">
{Array.from({ length: ticket.hotel.rate.value }).map(
Expand Down

0 comments on commit ead4625

Please sign in to comment.