Skip to content

Commit

Permalink
made it so that no search results found is displayed when applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
CHarris0812 committed Oct 22, 2024
1 parent 976a761 commit 7923b46
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-4xl font-bold text-slate-500 text-center">
No Search Results Found
</div>
);
}

return (
Expand Down

0 comments on commit 7923b46

Please sign in to comment.