From f8715c193c88921f9beb60e18dee029544698ae3 Mon Sep 17 00:00:00 2001 From: soup Date: Fri, 3 May 2024 10:00:33 +0200 Subject: [PATCH] feat(auth): improved error handling during login (#1523) --- web/src/screens/auth/Login.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/screens/auth/Login.tsx b/web/src/screens/auth/Login.tsx index b13a0cd..cc85893 100644 --- a/web/src/screens/auth/Login.tsx +++ b/web/src/screens/auth/Login.tsx @@ -45,9 +45,9 @@ export const Login = () => { auth.login(variables.username) router.invalidate() }, - onError: () => { + onError: (error) => { toast.custom((t) => ( - + )); } });