refactor: remove dead code

fix/authentication
Arik Chakma 10 months ago
parent 5c771c806d
commit 19f5885e62
  1. 3
      src/components/AuthenticationFlow/AuthenticationForm.tsx
  2. 5
      src/pages/login.astro
  3. 5
      src/pages/signup.astro

@ -1,11 +1,12 @@
import { useState } from 'react';
import { GitHubButton } from './GitHubButton'; import { GitHubButton } from './GitHubButton';
import { GoogleButton } from './GoogleButton'; import { GoogleButton } from './GoogleButton';
import { LinkedInButton } from './LinkedInButton'; import { LinkedInButton } from './LinkedInButton';
import { EmailLoginForm } from './EmailLoginForm'; import { EmailLoginForm } from './EmailLoginForm';
import { useState } from 'react';
export function AuthenticationForm() { export function AuthenticationForm() {
const [isDisabled, setIsDisabled] = useState(false); const [isDisabled, setIsDisabled] = useState(false);
return ( return (
<> <>
<div className="flex w-full flex-col gap-2"> <div className="flex w-full flex-col gap-2">

@ -1,10 +1,5 @@
--- ---
import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm'; import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm';
import Divider from '../components/AuthenticationFlow/Divider.astro';
import { EmailLoginForm } from '../components/AuthenticationFlow/EmailLoginForm';
import { GitHubButton } from '../components/AuthenticationFlow/GitHubButton';
import { GoogleButton } from '../components/AuthenticationFlow/GoogleButton';
import { LinkedInButton } from '../components/AuthenticationFlow/LinkedInButton';
import AccountLayout from '../layouts/AccountLayout.astro'; import AccountLayout from '../layouts/AccountLayout.astro';
--- ---

@ -1,10 +1,5 @@
--- ---
import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm'; import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm';
import Divider from '../components/AuthenticationFlow/Divider.astro';
import { EmailSignupForm } from '../components/AuthenticationFlow/EmailSignupForm';
import { GitHubButton } from '../components/AuthenticationFlow/GitHubButton';
import { GoogleButton } from '../components/AuthenticationFlow/GoogleButton';
import { LinkedInButton } from '../components/AuthenticationFlow/LinkedInButton';
import AccountLayout from '../layouts/AccountLayout.astro'; import AccountLayout from '../layouts/AccountLayout.astro';
--- ---

Loading…
Cancel
Save