diff --git a/app/src/organisms/EmergencyStop/EstopMissingModal.tsx b/app/src/organisms/EmergencyStop/EstopMissingModal.tsx index 3b862a94a9d..07fe453c932 100644 --- a/app/src/organisms/EmergencyStop/EstopMissingModal.tsx +++ b/app/src/organisms/EmergencyStop/EstopMissingModal.tsx @@ -42,7 +42,7 @@ export function EstopMissingModal({ ) : ( <> - {isDismissedModal === false ? ( + {!isDismissedModal ? ( - {t('estop_missing_description', { robotName: robotName })} + {t('estop_missing_description', { robotName })} @@ -121,7 +121,7 @@ function DesktopModal({ {t('connect_the_estop_to_continue')} - {t('estop_missing_description', { robotName: robotName })} + {t('estop_missing_description', { robotName })} diff --git a/app/src/organisms/EmergencyStop/EstopTakeover.tsx b/app/src/organisms/EmergencyStop/EstopTakeover.tsx index dbc0d38b024..8512b6c29ec 100644 --- a/app/src/organisms/EmergencyStop/EstopTakeover.tsx +++ b/app/src/organisms/EmergencyStop/EstopTakeover.tsx @@ -7,7 +7,7 @@ import { EstopMissingModal } from './EstopMissingModal' import { useIsUnboxingFlowOngoing } from '/app/redux-resources/config' import { getLocalRobot } from '/app/redux/discovery' import { PHYSICALLY_ENGAGED, NOT_PRESENT, DISENGAGED } from './constants' -import { EstopState } from '@opentrons/api-client' +import { type EstopState } from '@opentrons/api-client' const ESTOP_CURRENTLY_DISENGAGED_REFETCH_INTERVAL_MS = 10000 const ESTOP_CURRENTLY_ENGAGED_REFETCH_INTERVAL_MS = 1000 diff --git a/app/src/resources/modules/hooks/usePlacePlateReaderLid.ts b/app/src/resources/modules/hooks/usePlacePlateReaderLid.ts index 9312a868153..fd91d2a74a5 100644 --- a/app/src/resources/modules/hooks/usePlacePlateReaderLid.ts +++ b/app/src/resources/modules/hooks/usePlacePlateReaderLid.ts @@ -1,12 +1,11 @@ import { - CreateCommand, - OnDeckLabwareLocation, - ModuleLocation, + type CreateCommand, + type OnDeckLabwareLocation, + type ModuleLocation, } from '@opentrons/shared-data' -import { UseRobotControlCommandsProps } from '/app/resources/maintenance_runs' +import { type UseRobotControlCommandsProps , useRobotControlCommands } from '/app/resources/maintenance_runs' import { useRunCurrentState } from '@opentrons/react-api-client' import { useCurrentRunId } from '../../runs' -import { useRobotControlCommands } from '/app/resources/maintenance_runs' interface UsePlacePlateReaderLidResult { handlePlaceReaderLid: () => Promise @@ -58,7 +57,7 @@ export function usePlacePlateReaderLid( return { handlePlaceReaderLid, - isExecuting: isExecuting, + isExecuting, isValidPlateReaderMove, } } @@ -66,7 +65,7 @@ export function usePlacePlateReaderLid( const buildLoadModuleCommand = (location: ModuleLocation): CreateCommand => { return { commandType: 'loadModule' as const, - params: { model: 'absorbanceReaderV1', location: location }, + params: { model: 'absorbanceReaderV1', location }, } }