Skip to content

Commit b4ae132

Browse files
committed
Update useConnection.ts
1 parent b5762d5 commit b4ae132

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

client/src/lib/hooks/useConnection.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,6 @@ export function useConnection({
225225
if (shouldRetry) {
226226
return connect(undefined, retryCount + 1);
227227
}
228-
229-
if (error instanceof SseError && error.code === 401) {
230-
// Don't set error state if we're about to redirect for auth
231-
return;
232-
}
233-
setConnectionStatus("error");
234228
return;
235229
}
236230

0 commit comments

Comments
 (0)