From 36458a582cdadb5ece2fd71fc4a2ec1f1608d630 Mon Sep 17 00:00:00 2001 From: isafulf <51974293+isafulf@users.noreply.github.com> Date: Sun, 2 Apr 2023 17:32:37 -0700 Subject: [PATCH] Update FileQandAArea.tsx --- apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx b/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx index 9b92bcf6..85799698 100644 --- a/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx +++ b/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx @@ -55,8 +55,6 @@ function FileQandAArea(props: FileQandAAreaProps) { if (searchResultsResponse.status === 200) { results = searchResultsResponse.data.searchResults; - } else if (searchResultsResponse.status === 500) { - setAnswerError("Internal server error. Please try again later."); } else { setAnswerError("Sorry, something went wrong!"); }