diff --git a/protocol-designer/src/ui/labware/selectors.ts b/protocol-designer/src/ui/labware/selectors.ts index cda94767fd2..34d5818611f 100644 --- a/protocol-designer/src/ui/labware/selectors.ts +++ b/protocol-designer/src/ui/labware/selectors.ts @@ -8,7 +8,6 @@ import { import { FLEX_ROBOT_TYPE, OT2_ROBOT_TYPE, - RobotType, getIsTiprack, getLabwareDisplayName, } from '@opentrons/shared-data' @@ -21,6 +20,7 @@ import type { AdditionalEquipmentEntity, } from '@opentrons/step-generation' import type { DropdownOption } from '@opentrons/components' +import type { RobotType } from '@opentrons/shared-data' import type { Selector } from '../../types' import type { AllTemporalPropertiesForTimelineFrame, diff --git a/protocol-designer/src/ui/labware/utils.ts b/protocol-designer/src/ui/labware/utils.ts index f559c418deb..a566a411243 100644 --- a/protocol-designer/src/ui/labware/utils.ts +++ b/protocol-designer/src/ui/labware/utils.ts @@ -2,9 +2,9 @@ import { getHasWasteChute } from '@opentrons/step-generation' import { WASTE_CHUTE_DISPLAY_NAME } from '@opentrons/components' import { FLEX_ROBOT_TYPE, - RobotType, THERMOCYCLER_MODULE_TYPE, } from '@opentrons/shared-data' +import type { RobotType } from '@opentrons/shared-data' import type { InitialDeckSetup, SavedStepFormState } from '../../step-forms' function resolveSlotLocation( @@ -65,7 +65,7 @@ export function getLabwareLatestSlot( return resolveSlotLocation( modules, labware, - moveLabwareStep.newLocation, + moveLabwareStep.newLocation as string, robotType ) } else if (moveLabwareStep == null) {