Skip to content

Commit 49bce2c

Browse files
authored
🚑 fix: Display Error Message when API Connection fails during Chat (danny-avila#2710)
1 parent b8e184d commit 49bce2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎client/src/hooks/SSE/useSSE.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ export default function useSSE(submission: TSubmission | null, index = 0) {
592592
console.error(error);
593593
console.log(e);
594594
setIsSubmitting(false);
595-
return;
596595
}
597596

598597
errorHandler({ data, submission: { ...submission, message } });

0 commit comments

Comments
 (0)