Remove on-premise test elements
Removes the Supabase on-premise test-related elements from the login page.
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user