Skip to content

Commit

Permalink
type cutouts as Cutout instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Oct 16, 2023
1 parent d3b5ce5 commit 615b7c5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
DeckConfigurator,
} from '@opentrons/components'
import {
Cutout,
DeckConfiguration,
STAGING_AREA_LOAD_NAME,
STANDARD_SLOT_LOAD_NAME,
Expand All @@ -32,7 +33,7 @@ import { PDAlert } from '../alerts/PDAlert'
import { AdditionalEquipmentEntity } from '@opentrons/step-generation'
import { getStagingAreaSlots } from '../../utils'

const STAGING_AREA_SLOTS = ['A3', 'B3', 'C3', 'D3']
const STAGING_AREA_SLOTS: Cutout[] = ['A3', 'B3', 'C3', 'D3']

export interface StagingAreasValues {
selectedSlots: string[]
Expand Down Expand Up @@ -61,7 +62,7 @@ const StagingAreasModalComponent = (
const STANDARD_EMPTY_SLOTS: DeckConfiguration = STAGING_AREA_SLOTS.map(
fixtureLocation => ({
fixtureId: `id_${fixtureLocation}`,
fixtureLocation,
fixtureLocation: fixtureLocation as Cutout,
loadName: STANDARD_SLOT_LOAD_NAME,
})
)
Expand Down

0 comments on commit 615b7c5

Please sign in to comment.