Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Jan 17, 2025
1 parent 2beed9d commit ffd9b08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export function useRecoveryFullCommandText(
): string | null {
const { commandTextData, stepNumber } = props

// TODO TOME: I think you are looking one command to far, for some reason.
const relevantCmdIdx = stepNumber ?? -1
const relevantCmd = commandTextData?.commands[relevantCmdIdx - 1] ?? null

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useDispatch } from 'react-redux'

import { getLabwareDefinitionsFromCommands } from '/app/local-resources/labware'
import { getLabwareDefinitionsFromCommands } from '@opentrons/components'

import { useNotifyDeckConfigurationQuery } from '/app/resources/deck_configuration'
import { startLPC } from '/app/redux/protocol-runs'
import { getLPCSteps } from './utils'
Expand Down
10 changes: 7 additions & 3 deletions app/src/organisms/LabwarePositionCheck/steps/CheckItem/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { Trans, useTranslation } from 'react-i18next'
import { useDispatch, useSelector } from 'react-redux'

import { DIRECTION_COLUMN, Flex, LegacyStyledText } from '@opentrons/components'
import {
DIRECTION_COLUMN,
Flex,
LegacyStyledText,
getLabwareDisplayLocation,
} from '@opentrons/components'

import { NAV_STEPS } from '/app/organisms/LabwarePositionCheck/constants'
import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data'
import { getLabwareDisplayLocation } from '/app/local-resources/labware'
import { UnorderedList } from '/app/molecules/UnorderedList'
import {
setFinalPosition,
Expand All @@ -21,11 +25,11 @@ import {
} from '/app/redux/protocol-runs'
import { getIsOnDevice } from '/app/redux/config'

import type { DisplayLocationParams } from '@opentrons/components'
import type {
CheckPositionsStep,
LPCStepProps,
} from '/app/organisms/LabwarePositionCheck/types'
import type { DisplayLocationParams } from '/app/local-resources/labware'
import type { State } from '/app/redux/types'
import type { LPCWizardState } from '/app/redux/protocol-runs'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import {
SPACING,
LegacyStyledText,
TYPOGRAPHY,
getLabwareDisplayLocation,
} from '@opentrons/components'

import { selectLwDisplayName } from '/app/redux/protocol-runs'
import { getLabwareDisplayLocation } from '/app/local-resources/labware'

import type { LabwareDefinition2 } from '@opentrons/shared-data'
import type { LabwareOffsetCreateData } from '@opentrons/api-client'
Expand Down

0 comments on commit ffd9b08

Please sign in to comment.