Download wp-calypso/client/blocks/conversation-follow-button/helper.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/conversation-follow-button/helper.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/conversation-follow-button/helper.js
-
curl -L -o helper.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/conversation-follow-button/helper.js
207 Bytes
| import { shouldShowComments } from 'calypso/blocks/comments/helper'; | |
| export function shouldShowConversationFollowButton( post ) { | |
| return post.site_ID && ! post.is_external && shouldShowComments( post ); | |
| } | |