Skip to content

Commit

Permalink
Update FileQandAArea.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
isafulf committed Apr 3, 2023
1 parent 1af8aab commit 59e10ce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
}
Expand Down

0 comments on commit 59e10ce

Please sign in to comment.