OpenHands / frontend /src /hooks /mutation /use-get-trajectory.ts
Backup-bdg's picture
Upload 565 files
b59aa07 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),
});