Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Jan 17, 2025
1 parent 622cef0 commit 2e98eb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/organisms/ModuleCard/FlexStackerModuleData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const FlexStackerModuleData = (
pulse: false,
}
switch (moduleData.status) {
case 'storing':
case 'storing':
case 'dispensing': {
StatusLabelProps.status = moduleData.status
StatusLabelProps.backgroundColor = COLORS.blue30
Expand Down
1 change: 1 addition & 0 deletions app/src/organisms/ModuleCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const ModuleCard = (props: ModuleCardProps): JSX.Element | null => {
const [showCalModal, setShowCalModal] = useState(false)

const [targetProps, tooltipProps] = useHoverTooltip()

const runStatus = useCurrentRunStatus()
const isFlex = useIsFlex(robotName)
const requireModuleCalibration =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ function ModuleTableItem({
isModuleReady &&
(module.attachedModuleMatch?.moduleOffset?.last_modified != null ||
module.attachedModuleMatch?.moduleType === ABSORBANCE_READER_TYPE ||
module.attachedModuleMatch?.moduleType === FLEX_STACKER_MODULE_TYPE) &&
module.attachedModuleMatch?.moduleType ===
FLEX_STACKER_MODULE_TYPE) &&
conflictedFixture == null
? COLORS.green35
: isNonConnectingModule && conflictedFixture == null
Expand Down
6 changes: 3 additions & 3 deletions shared-data/js/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export const THERMOCYCLER_MODULE_V2: 'thermocyclerModuleV2' =
export const HEATERSHAKER_MODULE_V1: 'heaterShakerModuleV1' =
'heaterShakerModuleV1'
export const ABSORBANCE_READER_V1: 'absorbanceReaderV1' = 'absorbanceReaderV1'
export const FLEX_STACKER_MODULE_V1: 'flexStackerModuleV1' = 'flexStackerModuleV1'

export const FLEX_STACKER_MODULE_V1: 'flexStackerModuleV1' =
'flexStackerModuleV1'

export const MAGNETIC_BLOCK_V1: 'magneticBlockV1' = 'magneticBlockV1'

Expand Down Expand Up @@ -577,7 +577,7 @@ export const MODULE_FIXTURES_BY_MODEL: {
THERMOCYCLER_V2_FRONT_FIXTURE,
],
[ABSORBANCE_READER_V1]: [ABSORBANCE_READER_V1_FIXTURE],
[FLEX_STACKER_MODULE_V1]: [FLEX_STACKER_V1_FIXTURE]
[FLEX_STACKER_MODULE_V1]: [FLEX_STACKER_V1_FIXTURE],
}

export const FLEX_USB_MODULE_FIXTURES: CutoutFixtureId[] = [
Expand Down

0 comments on commit 2e98eb4

Please sign in to comment.