website refactor
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { useState, useEffect, FormEvent, type ChangeEvent } from 'react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { useAuth } from '@/lib/auth/AuthContext';
|
||||
import { useForgotPassword } from '@/hooks/auth/useForgotPassword';
|
||||
import { useForgotPassword } from "@/lib/hooks/auth/useForgotPassword";
|
||||
import Link from 'next/link';
|
||||
import { motion } from 'framer-motion';
|
||||
import {
|
||||
|
||||
@@ -20,7 +20,7 @@ import Button from '@/components/ui/Button';
|
||||
import Input from '@/components/ui/Input';
|
||||
import Heading from '@/components/ui/Heading';
|
||||
import { useAuth } from '@/lib/auth/AuthContext';
|
||||
import { useLogin } from '@/hooks/auth/useLogin';
|
||||
import { useLogin } from "@/lib/hooks/auth/useLogin";
|
||||
import AuthWorkflowMockup from '@/components/auth/AuthWorkflowMockup';
|
||||
import UserRolesPreview from '@/components/auth/UserRolesPreview';
|
||||
import { EnhancedFormError } from '@/components/errors/EnhancedFormError';
|
||||
|
||||
@@ -20,7 +20,7 @@ import Button from '@/components/ui/Button';
|
||||
import Input from '@/components/ui/Input';
|
||||
import Heading from '@/components/ui/Heading';
|
||||
import { useAuth } from '@/lib/auth/AuthContext';
|
||||
import { useResetPassword } from '@/hooks/auth/useResetPassword';
|
||||
import { useResetPassword } from "@/lib/hooks/auth/useResetPassword";
|
||||
|
||||
interface FormErrors {
|
||||
newPassword?: string;
|
||||
|
||||
@@ -27,7 +27,7 @@ import Button from '@/components/ui/Button';
|
||||
import Input from '@/components/ui/Input';
|
||||
import Heading from '@/components/ui/Heading';
|
||||
import { useAuth } from '@/lib/auth/AuthContext';
|
||||
import { useSignup } from '@/hooks/auth/useSignup';
|
||||
import { useSignup } from "@/lib/hooks/auth/useSignup";
|
||||
import { StatefulPageWrapper } from '@/components/shared/state/StatefulPageWrapper';
|
||||
|
||||
interface FormErrors {
|
||||
|
||||
Reference in New Issue
Block a user