react-code-dataset / wp-calypso /client /state /ui /selectors /is-section-loading.js
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
275 Bytes
import 'calypso/state/ui/init';
/**
* Returns whether a section is loading.
* @param {Object} state Global state tree
* @returns {boolean} Whether the section is loading
*/
export default function isSectionLoading( state ) {
return state.ui.isSectionLoading;
}