Download wp-calypso/client/sites/monitoring/controller.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/sites/monitoring/controller.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/sites/monitoring/controller.tsx
-
curl -L -o controller.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/sites/monitoring/controller.tsx
438 Bytes
| import PageViewTracker from 'calypso/lib/analytics/page-view-tracker'; | |
| import { SiteMonitoring } from './components/site-monitoring'; | |
| import type { Context as PageJSContext } from '@automattic/calypso-router'; | |
| export function siteMonitoring( context: PageJSContext, next: () => void ) { | |
| context.primary = ( | |
| <> | |
| <PageViewTracker path="/site-monitoring/:site" title="Sites > Monitoring" /> | |
| <SiteMonitoring /> | |
| </> | |
| ); | |
| next(); | |
| } | |