File size: 305 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { NOTIFICATIONS_PANEL_TOGGLE } from 'calypso/state/action-types';

import 'calypso/state/ui/init';

/**
 * Sets ui state to toggle the notifications panel
 * @returns {Object} An action object
 */
export const toggleNotificationsPanel = () => {
	return {
		type: NOTIFICATIONS_PANEL_TOGGLE,
	};
};