Skip to content

Commit 325314b

Browse files
Show "no results" if no results
1 parent e51c055 commit 325314b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Events/EventsViewGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function EventsViewGrid({ events }: Props) {
1818
if (hasSearchFilter) {
1919
// No grouping when search is active - show all results in one grid
2020
return (
21-
<SimpleSection title="Search Results" wide grid>
21+
<SimpleSection title={events.length > 1 ? "Search Results" : "No Results"} wide grid>
2222
{events.map((event) => (
2323
<div key={event.id} data-testid="event-card">
2424
<EventCard event={event} variant="polaroid" />

0 commit comments

Comments
 (0)