File size: 190 Bytes
1e92f2d
 
 
 
1
2
3
4
5
import { MASTERBAR_TOGGLE_VISIBILITY } from 'calypso/state/action-types';

export default ( state = true, { type, isVisible } ) =>
	type === MASTERBAR_TOGGLE_VISIBILITY ? isVisible : state;