2022-10-20 09:11:27 +00:00
|
|
|
import { IReduxState } 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-10-20 09:11:27 +00:00
|
|
|
export function getDisabledSounds(state: IReduxState) {
|
2021-09-09 14:18:26 +00:00
|
|
|
return state['features/base/config'].disabledSounds || [];
|
|
|
|
}
|