X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4c3faee100f2d676bb18dc68f7cf1c4ac25ae50d..ca091dbfbc7df1a3f81eca2b16925b3225d43138:/src/store/run-process-panel/run-process-panel-actions.ts diff --git a/src/store/run-process-panel/run-process-panel-actions.ts b/src/store/run-process-panel/run-process-panel-actions.ts index c01cee24..0cbd9cd6 100644 --- a/src/store/run-process-panel/run-process-panel-actions.ts +++ b/src/store/run-process-panel/run-process-panel-actions.ts @@ -93,7 +93,7 @@ const loadPresets = (workflowUuid: string) => }; export const selectPreset = (preset: WorkflowResource) => - (dispatch: Dispatch, getState: () => RootState) => { + (dispatch: Dispatch) => { dispatch(runProcessPanelActions.SELECT_WORKFLOW_PRESET(preset)); const inputs = getWorkflowInputs(parseWorkflowDefinition(preset)) || []; const values = inputs.reduce((values, input) => ({ @@ -104,7 +104,7 @@ export const selectPreset = (preset: WorkflowResource) => }; export const goToStep = (step: number) => - (dispatch: Dispatch, getState: () => RootState) => { + (dispatch: Dispatch) => { if (step === 1) { dispatch(runProcessPanelActions.SET_STEP_CHANGED(true)); }