12 lines
304 B
TypeScript
12 lines
304 B
TypeScript
import { IState } from '../app/types';
|
|
|
|
/**
|
|
* Returns the visibility state of the reactions menu.
|
|
*
|
|
* @param {Object} state - The state of the application.
|
|
* @returns {boolean}
|
|
*/
|
|
export function getReactionsMenuVisibility(state: IState): boolean {
|
|
return state['features/reactions'].visible;
|
|
}
|