From 7923b461f3f29ed24d705d34a961bab4676ba16c Mon Sep 17 00:00:00 2001 From: Connor Harris Date: Tue, 22 Oct 2024 17:54:43 -0500 Subject: [PATCH 1/2] made it so that no search results found is displayed when applicable --- src/app/directory/search/ClubSearch.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/directory/search/ClubSearch.tsx b/src/app/directory/search/ClubSearch.tsx index cf9a407..4cabebf 100644 --- a/src/app/directory/search/ClubSearch.tsx +++ b/src/app/directory/search/ClubSearch.tsx @@ -22,7 +22,11 @@ export const ClubSearchComponent = ({ return

; } if (data.length === 0) { - return

No results found

; + return ( +
+ No Search Results Found +
+ ); } return ( From 2a1746de7193457443108c8b3899220c6c83425b Mon Sep 17 00:00:00 2001 From: Connor Harris Date: Tue, 22 Oct 2024 17:58:52 -0500 Subject: [PATCH 2/2] ran prettier on the code --- src/app/directory/search/ClubSearch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/directory/search/ClubSearch.tsx b/src/app/directory/search/ClubSearch.tsx index 4cabebf..3845275 100644 --- a/src/app/directory/search/ClubSearch.tsx +++ b/src/app/directory/search/ClubSearch.tsx @@ -23,7 +23,7 @@ export const ClubSearchComponent = ({ } if (data.length === 0) { return ( -
+
No Search Results Found
);