Spaces:
Configuration error

README / frontend /src /hooks /use-app-logout.ts
gauravanu001's picture
upload
2d63f96 verified
Raw History Blame Contribute Delete
229 Bytes
import { useLogout } from "./mutation/use-logout";
export const useAppLogout = () => {
const { mutateAsync: logout } = useLogout();
const handleLogout = async () => {
await logout();
};
return { handleLogout };
};