main
Rurik19 2023-10-15 16:50:59 +05:00
parent 5089e715b3
commit 4546eb9140
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ const prepareDictation = (state: IState): { randomTones: Tone[] } => {
return { randomTones: newRandom }
}
// see https://stackoverflow.com/questions/36730793/can-i-dispatch-an-action-in-reducer
export const reducer = (state:IState, action:Action):IState => {
switch (action.type) {
case ActionType.setPause: return { ...state, sylPause: action.payload as number }