fix: normalize action button sizing, hide generic Poi subtitle

This commit is contained in:
Matt 2026-04-27 14:12:23 +00:00
commit 31d1ef07dd
2 changed files with 3 additions and 3 deletions

View file

@ -677,7 +677,7 @@ export default function PlaceDetail() {
{(() => {
const cat = placeDetails && placeDetails !== 'loading' ? placeDetails.category : null
const parts = []
if (cat) parts.push(cat)
if (cat && !["poi", "unknown", ""].includes(cat.toLowerCase())) parts.push(cat)
if (nearbyLabel) parts.push(`near ${nearbyLabel}`)
if (driveTime != null) parts.push(formatDriveTime(driveTime))
if (parts.length === 0) return null