From 7c296828c0fc4a171e95169d40f88e23035b10d7 Mon Sep 17 00:00:00 2001 From: julia-weppler-1 <156942916+julia-weppler-1@users.noreply.github.com> Date: Mon, 17 Aug 2026 14:02:28 -0400 Subject: [PATCH] Suggest adding else block for no results handling Add a suggestion to handle no results case in PartnerSearchPage. --- frontend/src/pages/PartnerSearchPage.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/pages/PartnerSearchPage.jsx b/frontend/src/pages/PartnerSearchPage.jsx index d9169a8..88bfe2d 100644 --- a/frontend/src/pages/PartnerSearchPage.jsx +++ b/frontend/src/pages/PartnerSearchPage.jsx @@ -37,6 +37,8 @@ function PartnerSearchPage() { const data = await res.json(); setResults(data); } + // I would recommend adding an else {} here to display text if there are no users found, so that way users don't think there is an error if there's + // no results. } return (