diff --git a/src/pages/Login/index.tsx b/src/pages/Login/index.tsx index 85b3267..28c6dcf 100644 --- a/src/pages/Login/index.tsx +++ b/src/pages/Login/index.tsx @@ -14,7 +14,6 @@ const LoginForm: React.FC = () => { const { user } = useAuth() const [error, setError] = useState('') const [searchParams] = useSearchParams() - const [error, setError] = useState('') const [username, setUsername] = useState('demo') const [password, setPassword] = useState('123456') const [remember, setRemember] = useState(false) @@ -61,7 +60,6 @@ const LoginForm: React.FC = () => {