Download wp-calypso/client/jetpack-cloud/sections/manage/pricing/index.web.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 853 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/manage/pricing/index.web.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/jetpack-cloud/sections/manage/pricing/index.web.js
-
curl -L -o index.web.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/manage/pricing/index.web.js
853 Bytes
| import page from '@automattic/calypso-router'; | |
| import { getLanguageRouteParam } from '@automattic/i18n-utils'; | |
| import { makeLayout, render as clientRender } from 'calypso/controller'; | |
| import { setLocaleMiddleware } from 'calypso/controller/shared'; | |
| import * as controller from './controller'; | |
| export default function () { | |
| const lang = getLanguageRouteParam(); | |
| page( | |
| `/${ lang }/manage/pricing`, | |
| setLocaleMiddleware(), | |
| /** | |
| * For now we are disabling the Jetpack Manage pricing page (i.e.- commenting out | |
| * `controller.jetpackManagePricingContext`) and instead redirecting to the | |
| * Jetpack.com For Agencies landing page (https://jetpack.com/for-agencies/). | |
| * | |
| * See also: https://wp.me/pbNhbs-axp-p2 | |
| */ | |
| // controller.jetpackManagePricingContext, | |
| controller.redirectToJetpackComA4aLanding, | |
| makeLayout, | |
| clientRender | |
| ); | |
| } | |