From 92625897bffc2dacd59aac002a322506f30b296d Mon Sep 17 00:00:00 2001 From: Marcos Reifonas Date: Mon, 17 Aug 2026 21:04:15 +0000 Subject: [PATCH] =?UTF-8?q?fix(lint):=20remover=20tipagem=20indefinida=20(?= =?UTF-8?q?any)=20no=20erro=20de=20autentica=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useAuth.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/useAuth.tsx b/src/hooks/useAuth.tsx index 81118a5..870c8cb 100644 --- a/src/hooks/useAuth.tsx +++ b/src/hooks/useAuth.tsx @@ -347,8 +347,8 @@ export function AuthProvider({ children }: { children: ReactNode }) { return { error }; } return { error: null }; - } catch (err: any) { - return { error: err }; + } catch (err) { + return { error: err as Error }; } };