Fix is401Error

This commit is contained in:
cliffhall 2026-01-07 14:23:46 -05:00
commit f7bf100a65

View file

@ -356,11 +356,6 @@ export function useConnection({
}
};
const is401Error = (error: unknown): boolean => {
return (
(error instanceof SseError && error.code === 401) ||
(error instanceof StreamableHTTPError && error.code === 401) ||
(error instanceof Error && error.message.includes("401")) ||
const is401Error = (error: unknown): boolean => {
return (
(error instanceof SseError && error.code === 401) ||