Remove on-premise test elements

Removes the Supabase on-premise test-related elements from the login page.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 22:42:12 +00:00
parent d90455af22
commit ab10176684
2 changed files with 2 additions and 12 deletions

View File

@@ -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";

View File

@@ -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<any>(null);
const navigate = useNavigate();
const { user } = useAuth();
@@ -62,13 +59,6 @@ const Login = () => {
</Link>
</p>
</div>
<TestConnectionSection
setLoginError={setLoginError}
setTestResults={setTestResults}
/>
<SupabaseConnectionStatus testResults={testResults} />
</div>
</div>
);