'use client'; // --------------------------------------------------------------------------------------------------------------------- //! Imports // --------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------- React & Next ----------------------------------------------------- import { useState } from 'react'; // --------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------- Components ------------------------------------------------------ import Image from 'next/image'; // --------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------- Hooks & Utils ---------------------------------------------------- import { useActions } from './hooks/useActions'; // --------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------- Assets & Styles --------------------------------------------------- import Loader from '@/assets/Loader'; import './styles.scss'; // --------------------------------------------------------------------------------------------------------------------- const Login = () => { const [error, setError] = useState(null); const [isLoading, setIsLoading] = useState(false); const { handleSubmit } = useActions({ setError, setIsLoading }); return (
appLogo

Connexion

{error &&

{error}

}
); }; export default Login;