Lambda-School-Labs/kansha-fe

View on GitHub
src/components/Auth/Login.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { useEffect } from 'react';
import Loader from 'react-loader-spinner';

import Auth from '../../utils/auth';

const auth = new Auth();

function Login() {
    useEffect(() => {
        auth.login();
    }, []);

    return (
        <Loader
            type="Rings"
            color="#c91757"
            height={100}
            width={100}
            timeout={10000}
        />
    );
}

export default Login;