import { useMutation } from "@tanstack/react-query";
import * as api from "../service/AuthService";

export const useDirectLogin = () => {
  return useMutation({
    mutationFn: api.directLogin,
  });
};
