2022-09-21 08:32:50 +00:00
|
|
|
import { IState } from '../../app/types';
|
2021-09-09 14:18:26 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Selector for retrieving the disabled sounds array.
|
|
|
|
*
|
|
|
|
* @param {Object} state - The Redux state.
|
|
|
|
* @returns {Array<string>} - The disabled sound id's array.
|
|
|
|
*/
|
2022-09-21 08:32:50 +00:00
|
|
|
export function getDisabledSounds(state: IState) {
|
2021-09-09 14:18:26 +00:00
|
|
|
return state['features/base/config'].disabledSounds || [];
|
|
|
|
}
|