Skip to content

Commit

Permalink
Test and lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Feb 15, 2024
1 parent fb3cd01 commit 1e63a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('getPipetteWizardStepsForProtocol', () => {
getPipetteWizardStepsForProtocol({ left: null, right: null }, [], LEFT)
).toStrictEqual(mockFlowSteps)
})
it('returns the calibration flow only when correct pipette is attached even if htere is pip cal data', () => {
it('returns the calibration flow only when correct pipette is attached even if there is pip cal data', () => {
const mockFlowSteps = [
{
section: SECTIONS.BEFORE_BEGINNING,
Expand Down
2 changes: 1 addition & 1 deletion app/src/organisms/PipetteWizardFlows/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const PipetteWizardFlows = (
)
const host = useHost()
const [currentStepIndex, setCurrentStepIndex] = React.useState<number>(0)
const totalStepCount = pipetteWizardSteps.length - 1
const totalStepCount = pipetteWizardSteps ? pipetteWizardSteps.length - 1 : 0
const currentStep = pipetteWizardSteps?.[currentStepIndex] ?? null
const [isFetchingPipettes, setIsFetchingPipettes] = React.useState<boolean>(
false
Expand Down

0 comments on commit 1e63a10

Please sign in to comment.