File size: 326 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { get } from 'lodash';
import getSection from './get-section';

/**
 * Returns the current section group name.
 * @param  {Object}  state Global state tree
 * @returns {?string}       Current section group name
 */
export default function getSectionGroup( state ) {
	return get( getSection( state ), 'group', null );
}