From 3991f9ac52df7006cda4c8dc8475e3a5d6840001 Mon Sep 17 00:00:00 2001 From: Valentino Kozinec Date: Wed, 19 Jan 2022 12:08:03 +0100 Subject: [PATCH] Fix --- src/modules/login/LoginCallback.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/login/LoginCallback.tsx b/src/modules/login/LoginCallback.tsx index 9925f2e..5b0bded 100644 --- a/src/modules/login/LoginCallback.tsx +++ b/src/modules/login/LoginCallback.tsx @@ -14,7 +14,7 @@ export function LoginCallback(_: LoginCallbackProps) { const { logIn } = useAuth(); useEffect(() => { - if (params) { + if (params.length > 2) { const res = logIn(params); // @ts-ignore if (res.ok) {