mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +00:00
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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user