From 008af8210605761296b4c17e7ed9f10a97a53076 Mon Sep 17 00:00:00 2001 From: gearnode Date: Wed, 26 Mar 2025 10:15:44 +0100 Subject: [PATCH] Remove unused code Signed-off-by: gearnode --- apps/console/src/pages/authentication/LoginPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/console/src/pages/authentication/LoginPage.tsx b/apps/console/src/pages/authentication/LoginPage.tsx index 30f814d82..3616b4132 100644 --- a/apps/console/src/pages/authentication/LoginPage.tsx +++ b/apps/console/src/pages/authentication/LoginPage.tsx @@ -1,5 +1,5 @@ import { useState, useEffect } from "react"; -import { Link, useLocation, useNavigate } from "react-router"; +import { Link, useLocation } from "react-router"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; @@ -12,7 +12,6 @@ export default function LoginPage() { const [isLoading, setIsLoading] = useState(false); const { toast } = useToast(); const location = useLocation(); - const navigate = useNavigate(); useEffect(() => { if (location.state?.authRequired) {