diff --git a/app/src/organisms/Devices/PipetteCard/FlexPipetteCard.tsx b/app/src/organisms/Devices/PipetteCard/FlexPipetteCard.tsx index 778f2f7d8d0..19a99233933 100644 --- a/app/src/organisms/Devices/PipetteCard/FlexPipetteCard.tsx +++ b/app/src/organisms/Devices/PipetteCard/FlexPipetteCard.tsx @@ -21,12 +21,7 @@ import { DropTipWizard } from '../../DropTipWizard' import { AboutPipetteSlideout } from './AboutPipetteSlideout' -import type { - BadPipette, - Mount, - PipetteData, - HostConfig, -} from '@opentrons/api-client' +import type { BadPipette, Mount, PipetteData } from '@opentrons/api-client' import type { PipetteModelSpecs } from '@opentrons/shared-data' import type { PipetteWizardFlow, @@ -66,7 +61,7 @@ export function FlexPipetteCard({ isEstopNotDisengaged, }: FlexPipetteCardProps): JSX.Element { const { t, i18n } = useTranslation(['device_details', 'shared']) - const host = useHost() as HostConfig + const host = useHost() const [ showAboutPipetteSlideout, @@ -258,7 +253,7 @@ export function FlexPipetteCard({ closeFlow={() => setShowDropTipWizard(false)} /> ) : null} - {attachedPipette?.ok && showAboutPipetteSlideout && ( + {attachedPipette?.ok && showAboutPipetteSlideout ? ( setShowAboutPipetteSlideout(false)} /> - )} + ) : null} {showChoosePipette ? ( { pipetteSpecs={pipetteModelSpecs} mount={mount} transform="scale(0.3)" - transformOrigin={'20% 52%'} + transformOrigin="20% 52%" /> ) : null}