From ab101766843db663e0a79695e77970e515ea8821 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 22:42:12 +0000 Subject: [PATCH] Remove on-premise test elements Removes the Supabase on-premise test-related elements from the login page. --- src/hooks/useLogin.ts | 2 +- src/pages/Login.tsx | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/hooks/useLogin.ts b/src/hooks/useLogin.ts index f44d5c1..5378165 100644 --- a/src/hooks/useLogin.ts +++ b/src/hooks/useLogin.ts @@ -1,5 +1,5 @@ -import { useState, useEffect } from "react"; +import { useState } from "react"; import { useNavigate } from "react-router-dom"; import { useToast } from "@/hooks/useToast.wrapper"; import { useAuth } from "@/contexts/auth"; diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index 7427f96..c04ce6a 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -1,10 +1,8 @@ -import React, { useState, useEffect } from "react"; +import React, { useEffect } from "react"; import { Link, useNavigate } from "react-router-dom"; import { useAuth } from "@/contexts/auth"; import LoginForm from "@/components/auth/LoginForm"; -import TestConnectionSection from "@/components/auth/TestConnectionSection"; -import SupabaseConnectionStatus from "@/components/auth/SupabaseConnectionStatus"; import { useLogin } from "@/hooks/useLogin"; const Login = () => { @@ -22,7 +20,6 @@ const Login = () => { handleLogin } = useLogin(); - const [testResults, setTestResults] = useState(null); const navigate = useNavigate(); const { user } = useAuth(); @@ -62,13 +59,6 @@ const Login = () => {

- - - - );