react-code-dataset / wp-calypso /client /state /comments /selectors /get-expansions-for-post.js
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
234 Bytes
import { getStateKey } from 'calypso/state/comments/utils';
import 'calypso/state/comments/init';
export function getExpansionsForPost( state, siteId, postId ) {
return state.comments.expansions[ getStateKey( siteId, postId ) ];
}