12 lines
339 B
TypeScript
12 lines
339 B
TypeScript
import { IReduxState } from '../../app/types';
|
|
|
|
/**
|
|
* Selector for retrieving the disabled sounds array.
|
|
*
|
|
* @param {Object} state - The Redux state.
|
|
* @returns {Array<string>} - The disabled sound id's array.
|
|
*/
|
|
export function getDisabledSounds(state: IReduxState) {
|
|
return state['features/base/config'].disabledSounds || [];
|
|
}
|