Download wp-calypso/client/reader/like-helper.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/like-helper.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/like-helper.jsx
-
curl -L -o like-helper.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/like-helper.jsx
131 Bytes
| export function shouldShowLikes( post ) { | |
| if ( post && post.site_ID && ! post.is_external ) { | |
| return true; | |
| } | |
| return false; | |
| } | |