Implement sound settings update and integrate sound context in sightings widget
This commit is contained in:
@@ -13,6 +13,10 @@ export function reducer(state: SoundState, action: SoundPayload) {
|
||||
...state,
|
||||
sightingSound: action.payload.sightingSound,
|
||||
NPEDsound: action.payload.NPEDsound,
|
||||
hotlists: action.payload.hotlists.map((hotlist) => ({
|
||||
name: hotlist.name,
|
||||
sound: hotlist.sound,
|
||||
})),
|
||||
};
|
||||
}
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user