diff --git a/frontend/src/features/system/SettingsModal/SettingsModal.tsx b/frontend/src/features/system/SettingsModal/SettingsModal.tsx index 66e12af104..9569e518d6 100644 --- a/frontend/src/features/system/SettingsModal/SettingsModal.tsx +++ b/frontend/src/features/system/SettingsModal/SettingsModal.tsx @@ -18,6 +18,7 @@ import { ChangeEvent, cloneElement, ReactElement } from 'react'; import { RootState, useAppDispatch, useAppSelector } from '../../../app/store'; import { persistor } from '../../../main'; import { + InProgressImageType, setShouldConfirmOnDelete, setShouldDisplayGuides, setShouldDisplayInProgressType, @@ -114,7 +115,11 @@ const SettingsModal = ({ children }: SettingsModalProps) => { validValues={IN_PROGRESS_IMAGE_TYPES} value={shouldDisplayInProgressType} onChange={(e: ChangeEvent) => - dispatch(setShouldDisplayInProgressType(e.target.value)) + dispatch( + setShouldDisplayInProgressType( + e.target.value as InProgressImageType + ) + ) } />