From 4546eb9140d08f99abfb8e081622a269f73d968d Mon Sep 17 00:00:00 2001 From: Rurik19 Date: Sun, 15 Oct 2023 16:50:59 +0500 Subject: [PATCH] reminder --- src/reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reducer.ts b/src/reducer.ts index f652b19..f735d75 100644 --- a/src/reducer.ts +++ b/src/reducer.ts @@ -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 }