Download wp-calypso/client/my-sites/site-settings/settings-reading/controller.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/site-settings/settings-reading/controller.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/site-settings/settings-reading/controller.ts
-
curl -L -o controller.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/site-settings/settings-reading/controller.ts
273 Bytes
| import { createElement } from 'react'; | |
| import ReadingSettings from './main'; | |
| import type { Callback } from '@automattic/calypso-router'; | |
| export const createReadingSettings: Callback = ( context, next ) => { | |
| context.primary = createElement( ReadingSettings ); | |
| next(); | |
| }; | |