Download wp-calypso/client/dashboard/app/queries/p2.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/queries/p2.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/app/queries/p2.ts
-
curl -L -o p2.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/queries/p2.ts
241 Bytes
| import { fetchP2HubP2s } from '../../data/p2'; | |
| export const p2HubP2sQuery = ( siteId: number, options: { limit?: number } = {} ) => ( { | |
| queryKey: [ 'p2-hub', siteId, 'p2s', options ], | |
| queryFn: () => fetchP2HubP2s( siteId, options ), | |
| } ); | |