Download wp-calypso/client/blocks/comments/helper.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/comments/helper.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/comments/helper.jsx
-
curl -L -o helper.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/comments/helper.jsx
181 Bytes
| export function shouldShowComments( post ) { | |
| if ( post.discussion && ( post.discussion.comments_open || post.discussion.comment_count > 0 ) ) { | |
| return true; | |
| } | |
| return false; | |
| } | |