Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
432 Bytes
import { MASTERBAR_TOGGLE_VISIBILITY } from 'calypso/state/action-types';
import 'calypso/state/ui/init';
/**
* Hide the masterbar.
* @returns {Object} Action object
*/
export const hideMasterbar = () => ( { type: MASTERBAR_TOGGLE_VISIBILITY, isVisible: false } );
/**
* Show the masterbar.
* @returns {Object} Action object
*/
export const showMasterbar = () => ( { type: MASTERBAR_TOGGLE_VISIBILITY, isVisible: true } );