Update FileQandAArea.tsx

This commit is contained in:
isafulf 2023-04-02 17:32:37 -07:00
parent 308c261bc9
commit 36458a582c

View File

@ -55,8 +55,6 @@ function FileQandAArea(props: FileQandAAreaProps) {
if (searchResultsResponse.status === 200) { if (searchResultsResponse.status === 200) {
results = searchResultsResponse.data.searchResults; results = searchResultsResponse.data.searchResults;
} else if (searchResultsResponse.status === 500) {
setAnswerError("Internal server error. Please try again later.");
} else { } else {
setAnswerError("Sorry, something went wrong!"); setAnswerError("Sorry, something went wrong!");
} }