Download wp-calypso/client/reader/notifications/index.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/notifications/index.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/notifications/index.jsx
-
curl -L -o index.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/notifications/index.jsx
534 Bytes
| import page from '@automattic/calypso-router'; | |
| import { makeLayout, render as clientRender } from 'calypso/controller'; | |
| import { sidebar } from 'calypso/reader/controller'; | |
| import { notifications } from './controller'; | |
| export default function () { | |
| // While this page is no longer shown via sidebar navigation, it is still in use as users with | |
| // 3PCs disabled are redirected to this when clicking the notification bell when outside | |
| // Calypso. | |
| page( '/reader/notifications', sidebar, notifications, makeLayout, clientRender ); | |
| } | |