fix(frontend): Update show detail title format to Date - Venue, Location
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
This commit is contained in:
parent
c4905d7470
commit
d11f078d3e
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ export default async function ShowDetailPage({ params }: { params: Promise<{ id:
|
|||
<div>
|
||||
<h1 className="text-3xl font-bold tracking-tight">
|
||||
{new Date(show.date).toLocaleDateString()}
|
||||
{show.venue && (
|
||||
<span className="font-normal text-muted-foreground ml-2">
|
||||
- {show.venue.name}, {show.venue.city}, {show.venue.state}
|
||||
</span>
|
||||
)}
|
||||
</h1>
|
||||
{show.tags && show.tags.length > 0 && (
|
||||
<div className="flex flex-wrap gap-2 mt-1">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue