import { useAuthContext } from './authContext';

const LoginButton = () => {
  const { loginWithRedirect } = useAuthContext();

  return (
    <button onClick={() => loginWithRedirect()}>
      Log In
    </button>
  );
};

export default LoginButton;
