style: format Location component boundary

This commit is contained in:
Sameh Khamis committed 2026-09-12 22:55:18 -07:00
1 parent ea77b49482
commit 82d922ae87
7 files changed
+557 -275

No files matched your search

+4 -1
View File
@@ -55,7 +55,10 @@ export function locationMiniStatus({
// The remaining address is the place's context ("Japan", "Minato City,
// Tokyo, Japan"); the readout is ellipsised in CSS, so a long tail is
// safe. A one-segment geocode ("Japan") has no context to show.
poi: segments.length > 1 ? segments.slice(1).join(', ') : 'Searched location',
poi:
segments.length > 1
? segments.slice(1).join(', ')
: 'Searched location',
};
}