Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Dec 6, 2023
1 parent 24432be commit 1fc6593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/organisms/LabwarePositionCheck/AttachProbe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import type {
RegisterPositionAction,
WorkingOffset,
} from './types'
import type { LabwareOffset, PipetteData } from '@opentrons/api-client'
import type { LabwareOffset } from '@opentrons/api-client'

interface AttachProbeProps extends AttachProbeStep {
protocolData: CompletedProtocolAnalysis
Expand Down Expand Up @@ -68,7 +68,7 @@ export const AttachProbe = (props: AttachProbeProps): JSX.Element | null => {
}

const pipetteMount = pipette?.mount
const { refetch, data: attachedInstrumentsData } = useInstrumentsQuery({
const { refetch } = useInstrumentsQuery({

Check warning on line 71 in app/src/organisms/LabwarePositionCheck/AttachProbe.tsx

View check run for this annotation

Codecov / codecov/patch

app/src/organisms/LabwarePositionCheck/AttachProbe.tsx#L71

Added line #L71 was not covered by tests
enabled: false,
onSettled: () => {
setIsPending(false)
Expand Down
3 changes: 1 addition & 2 deletions app/src/organisms/PipetteWizardFlows/AttachProbe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import probing96 from '../../assets/videos/pipette-wizard-flows/Pipette_Probing_
import { BODY_STYLE, SECTIONS, FLOWS } from './constants'
import { getPipetteAnimations } from './utils'
import { ProbeNotAttached } from './ProbeNotAttached'
import type { PipetteData } from '@opentrons/api-client'
import type { PipetteWizardStepProps } from './types'

interface AttachProbeProps extends PipetteWizardStepProps {
Expand Down Expand Up @@ -69,7 +68,7 @@ export const AttachProbe = (props: AttachProbeProps): JSX.Element | null => {
const is96Channel = attachedPipettes[mount]?.data.channels === 96
const calSlotNum = 'C2'
const axes: MotorAxes = mount === LEFT ? ['leftZ'] : ['rightZ']
const { refetch, data: attachedInstrumentsData } = useInstrumentsQuery({
const { refetch } = useInstrumentsQuery({
enabled: false,
onSettled: () => {
setIsPending(false)
Expand Down

0 comments on commit 1fc6593

Please sign in to comment.