Download wp-calypso/client/reader/following/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/following/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/following/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/following/index.js
346 Bytes
| import page from '@automattic/calypso-router'; | |
| export default function () { | |
| page( '/following/manage', ( { querystring } ) => { | |
| page.redirect( '/reader/subscriptions' + ( querystring ? '?' + querystring : '' ) ); | |
| } ); | |
| page( '/following/edit*', '/following/manage' ); | |
| // Send /following to Reader root | |
| page( '/following', '/reader' ); | |
| } | |