refactor(auth): remove unused import in useLogin hook

- Cleaned up the useLogin hook by removing the unused getAppInfo import, streamlining the code for better readability and maintainability.
This commit is contained in:
Daniel Luiz Alves
2025-07-11 00:21:13 -03:00
parent a4bc5ec015
commit f1ef32b5d4

View File

@@ -8,7 +8,7 @@ import { toast } from "sonner";
import { z } from "zod";
import { useAuth } from "@/contexts/auth-context";
import { getAppInfo, getCurrentUser, login } from "@/http/endpoints";
import { getCurrentUser, login } from "@/http/endpoints";
import { completeTwoFactorLogin } from "@/http/endpoints/auth/two-factor";
import type { LoginResponse } from "@/http/endpoints/auth/two-factor/types";
import { LoginFormValues } from "../schemas/schema";