12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
|
// @flow
|
||
|
|
||
|
/**
|
||
|
* 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: Object) {
|
||
|
return state['features/base/config'].disabledSounds || [];
|
||
|
}
|