Fix new Frontend 11
This commit is contained in:
@@ -2,8 +2,10 @@ import React, { useState } from 'react';
|
||||
import { Eye, EyeOff, Loader2, Check } from 'lucide-react';
|
||||
import toast from 'react-hot-toast';
|
||||
|
||||
import { useAuth } from '../../api/hooks/useAuth';
|
||||
import type { RegisterRequest } from '../../api/types';
|
||||
import {
|
||||
useAuth,
|
||||
RegisterRequest
|
||||
} from '../../api';
|
||||
|
||||
interface RegisterPageProps {
|
||||
onLogin: (user: any, token: string) => void;
|
||||
|
||||
Reference in New Issue
Block a user