import LoginForm from '../components/LoginForm';
import { useNavigate } from 'react-router-dom';

const LoginPage = () => {
  const navigate = useNavigate();

  const handleLoginSuccess = () => {
    navigate('/dashboard');
  };

  return (
    <div>
      <h1>Login to manage your AI Assistants</h1>
      <LoginForm onLogin={handleLoginSuccess} />
    </div>
  );
};

export default LoginPage;

