Skip to content

Commit

Permalink
Merge pull request #251 from UTDNebula/club-search-no-results
Browse files Browse the repository at this point in the history
add No results found page for club search results
  • Loading branch information
nl32 authored Oct 29, 2024
2 parents 976a761 + 2a1746d commit 1e7f939
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/directory/search/ClubSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ export const ClubSearchComponent = ({
return <p />;
}
if (data.length === 0) {
return <p>No results found</p>;
return (
<div className="text-center text-4xl font-bold text-slate-500">
No Search Results Found
</div>
);
}

return (
Expand Down

0 comments on commit 1e7f939

Please sign in to comment.