Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
312 Bytes
import { get } from 'lodash';
import getSection from './get-section';
/**
* Returns the current section name.
* @param {Object} state Global state tree
* @returns {?string} Current section name
*/
export default function getSectionName( state ) {
return get( getSection( state ), 'name', null );
}