Download wp-calypso/client/dashboard/app/queries/ssh.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/queries/ssh.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/app/queries/ssh.ts
-
curl -L -o ssh.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/queries/ssh.ts
220 Bytes
| import { fetchSshKeys } from '../../data/me-ssh'; | |
| export const sshKeysQuery = () => ( { | |
| queryKey: [ 'ssh-keys' ], | |
| queryFn: fetchSshKeys, | |
| retry: false, // Don't retry on 401 errors | |
| meta: { | |
| persist: false, | |
| }, | |
| } ); | |