Skip to content

Commit

Permalink
add reducer case
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Jan 25, 2024
1 parent c1e4bab commit fadbf78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions teachertool/src/state/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ export default function reducer(state: AppState, action: Action): AppState {
currentEvalResult: action.result,
};
}
case "SET_TARGET_CONFIG": {
return {
...state,
targetConfig: action.config,
};
}
}

return state;
}

0 comments on commit fadbf78

Please sign in to comment.