Download wp-calypso/client/dashboard/app/404/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 611 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/404/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/app/404/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/app/404/index.tsx
611 Bytes
| import { __ } from '@wordpress/i18n'; | |
| import { PageHeader } from '../../components/page-header'; | |
| import PageLayout from '../../components/page-layout'; | |
| import RouterLinkButton from '../../components/router-link-button'; | |
| function NotFound() { | |
| return ( | |
| <PageLayout | |
| header={ | |
| <PageHeader | |
| title={ __( '404 Not Found' ) } | |
| description={ __( 'The page you are looking for does not exist.' ) } | |
| actions={ | |
| <RouterLinkButton to="/sites" variant="primary" __next40pxDefaultSize> | |
| { __( 'Go to Sites' ) } | |
| </RouterLinkButton> | |
| } | |
| /> | |
| } | |
| /> | |
| ); | |
| } | |
| export default NotFound; | |