Examples and guides for using the OpenAI API
Update FileQandAArea.tsx
isafulf59e10cec1154
diff --git a/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsx b/apps/file-q-and-a/nextjs/src/components/FileQandAArea.tsxindex 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!");}