Download wp-calypso/client/me/concierge/shared/utils.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/concierge/shared/utils.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/me/concierge/shared/utils.js
-
curl -L -o utils.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/concierge/shared/utils.js
498 Bytes
| import { CompactCard } from '@automattic/components'; | |
| import HeaderCake from 'calypso/components/header-cake'; | |
| export const renderDisallowed = ( translate, siteSlug ) => { | |
| return ( | |
| <> | |
| <HeaderCake backHref={ `/me/quickstart/${ siteSlug }/book` }> | |
| { translate( 'Reschedule or cancel' ) } | |
| </HeaderCake> | |
| <CompactCard> | |
| <div> | |
| { translate( | |
| 'Sorry, you cannot reschedule or cancel less than 60 minutes before the session.' | |
| ) } | |
| </div> | |
| </CompactCard> | |
| </> | |
| ); | |
| }; | |