copy base dmenu to dkala
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { useMutation } from "@tanstack/react-query";
|
||||
import * as api from "../service/LoginService";
|
||||
|
||||
export const useOtpRequest = () => {
|
||||
return useMutation({
|
||||
mutationFn: api.loginOTP,
|
||||
});
|
||||
};
|
||||
|
||||
export const useOtpVerify = () => {
|
||||
return useMutation({
|
||||
mutationFn: api.loginVerifyOTP,
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user