- saving current work before refactor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user