Download wp-calypso/client/jetpack-app/empty.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-app/empty.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/jetpack-app/empty.tsx
-
curl -L -o empty.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-app/empty.tsx
609 Bytes
| import { useTranslate, fixMe } from 'i18n-calypso'; | |
| import EmptyContent from 'calypso/components/empty-content'; | |
| import Main from 'calypso/components/main'; | |
| const JetpackAppEmptyContent: React.FC = () => { | |
| const translate = useTranslate(); | |
| return ( | |
| <Main> | |
| <EmptyContent | |
| title={ fixMe( { | |
| text: 'Page not found.', | |
| newCopy: translate( 'Page not found.' ), | |
| oldCopy: translate( 'Uh oh. Page not found.' ), | |
| } ) } | |
| line={ translate( | |
| "Sorry, the page you were looking for doesn't exist or has been moved." | |
| ) } | |
| /> | |
| </Main> | |
| ); | |
| }; | |
| export default JetpackAppEmptyContent; | |