Download wp-calypso/client/a8c-for-agencies/sections/landing/controller.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/a8c-for-agencies/sections/landing/controller.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/a8c-for-agencies/sections/landing/controller.tsx
-
curl -L -o controller.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/a8c-for-agencies/sections/landing/controller.tsx
336 Bytes
| import { type Callback } from '@automattic/calypso-router'; | |
| import SidebarPlaceholder from 'calypso/a8c-for-agencies/components/sidebar-placeholder'; | |
| import Landing from './landing'; | |
| export const landingContext: Callback = ( context, next ) => { | |
| context.primary = <Landing />; | |
| context.secondary = <SidebarPlaceholder />; | |
| next(); | |
| }; | |