Fix
This commit is contained in:
parent
88fff73cc0
commit
3991f9ac52
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue