Fix new Frontend 11

This commit is contained in:
Urtzi Alfaro
2025-08-04 16:19:00 +02:00
parent d13b8657df
commit d4c276c888
3 changed files with 167 additions and 125 deletions

View File

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