mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
Update FileQandAArea.tsx
This commit is contained in:
parent
1af8aab27d
commit
59e10cec11
@ -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!");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user