Spaces:
Configuration error
Configuration error
Download frontend/src/hooks/mutation/use-get-trajectory.ts from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/hooks/mutation/use-get-trajectory.ts
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/hooks/mutation/use-get-trajectory.ts
-
curl -L -o use-get-trajectory.ts https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/hooks/mutation/use-get-trajectory.ts
219 Bytes
| import { useMutation } from "@tanstack/react-query"; | |
| import OpenHands from "#/api/open-hands"; | |
| export const useGetTrajectory = () => | |
| useMutation({ | |
| mutationFn: (cid: string) => OpenHands.getTrajectory(cid), | |
| }); | |