Skip to content

Commit

Permalink
format and import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b-cooper committed Dec 5, 2023
1 parent 782fa4f commit 12160bf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export * from './alerts'
export * from './buttons'
export * from './controls'
export * from './hardware-sim'
export * from './legacy-hardware-sim'
export * from './forms'
export * from './icons'
export * from './images'
Expand Down
1 change: 0 additions & 1 deletion components/src/legacy-hardware-sim/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './constants'
export * from './LabwareNameOverlay'
export * from './ModuleItem' // legacy App module rendering
2 changes: 1 addition & 1 deletion components/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ module.exports = async () =>
path: OUTPUT_PATH,
filename: 'opentrons-components.js',
library: '@opentrons/components',
libraryTarget: 'umd'
libraryTarget: 'umd',
},
})
2 changes: 1 addition & 1 deletion protocol-designer/src/labware-defs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import groupBy from 'lodash/groupBy'
import {
getLabwareDefURI,
PD_DO_NOT_LIST,
LabwareDefinition1,
LabwareDefinition2,
} from '@opentrons/shared-data'
import { LabwareDefByDefURI } from './types'


// require all definitions in the labware/definitions/1 directory
// require.context is webpack-specific method
const labwareSchemaV1DefsContext = require.context(
Expand Down
3 changes: 2 additions & 1 deletion protocol-library-kludge/src/URLDeck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export class URLDeck extends React.Component<{}> {
if (!slot.matingSurfaceUnitVector) return null // if slot has no mating surface, don't render anything in it
const moduleModel = modulesBySlot && modulesBySlot[slotId]
const labware = labwareBySlot && labwareBySlot[slotId]
const labwareDefV2 = labware && getLatestLabwareDef(labware.labwareType)
const labwareDefV2 =
labware && getLatestLabwareDef(labware.labwareType)
let labwareDisplayType: string | null = null
if (labwareDefV2) {
labwareDisplayType = labwareDefV2.metadata.displayName
Expand Down
2 changes: 1 addition & 1 deletion shared-data/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = async () =>
path: OUTPUT_PATH,
filename: 'opentrons-shared-data.js',
library: '@opentrons/shared-data',
libraryTarget: 'umd'
libraryTarget: 'umd',
},
})

0 comments on commit 12160bf

Please sign in to comment.