Spaces:
Configuration error

README / frontend /src /hooks /mutation /use-get-trajectory.ts
gauravanu001's picture
upload
2d63f96 verified
Raw History Blame Contribute Delete
219 Bytes
import { useMutation } from "@tanstack/react-query";
import OpenHands from "#/api/open-hands";
export const useGetTrajectory = () =>
useMutation({
mutationFn: (cid: string) => OpenHands.getTrajectory(cid),
});