frontend/regimens/bulk_scheduler/actions.ts
Function commitBulkEditor
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function commitBulkEditor(): Thunk {
return function (dispatch, getState) {
const resources = getState().resources;
const { weeks, dailyOffsetMs, selectedSequenceUUID, currentRegimen } =
resources.consumers.regimens;