This commit is contained in:
Valentino Kozinec 2022-01-19 12:08:03 +01:00
parent 88fff73cc0
commit 3991f9ac52

View file

@ -14,7 +14,7 @@ export function LoginCallback(_: LoginCallbackProps) {
const { logIn } = useAuth(); const { logIn } = useAuth();
useEffect(() => { useEffect(() => {
if (params) { if (params.length > 2) {
const res = logIn(params); const res = logIn(params);
// @ts-ignore // @ts-ignore
if (res.ok) { if (res.ok) {