- saving current work before refactor

This commit is contained in:
2025-10-28 08:50:55 +00:00
parent 93dcde4459
commit a64fa76ecb
4 changed files with 38 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ export const initialState: SoundState = {
sightingVolume: 1,
NPEDsoundVolume: 1,
hotlistSoundVolume: 1,
uploadedSound: null,
};
export function reducer(state: SoundState, action: SoundAction): SoundState {
@@ -63,7 +64,11 @@ export function reducer(state: SoundState, action: SoundAction): SoundState {
...state,
hotlistSoundVolume: action.payload,
};
case "UPLOADEDSOUND":
return {
...state,
uploadedSound: action.payload,
};
default:
return state;
}