Download wp-calypso/client/jetpack-cloud/sections/comparison/index.web.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 647 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/comparison/index.web.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/jetpack-cloud/sections/comparison/index.web.ts
-
curl -L -o index.web.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/comparison/index.web.ts
647 Bytes
| import page from '@automattic/calypso-router'; | |
| import { makeLayout, render as clientRender } from 'calypso/controller/index.web'; | |
| import { setLocaleMiddleware } from 'calypso/controller/shared'; | |
| import { loggedInSiteSelection } from 'calypso/my-sites/controller'; | |
| import { jetpackComparisonContext } from './controller'; | |
| import './style.scss'; | |
| export default function () { | |
| page( | |
| '/:lang/features/comparison', | |
| setLocaleMiddleware(), | |
| loggedInSiteSelection, | |
| jetpackComparisonContext, | |
| makeLayout, | |
| clientRender | |
| ); | |
| page( | |
| '/features/comparison', | |
| loggedInSiteSelection, | |
| jetpackComparisonContext, | |
| makeLayout, | |
| clientRender | |
| ); | |
| } | |