Skip to content

Commit 97a792f

Browse files
committed
chore(components): deprecated PipetteSelect
deprecated PipetteSelect since it's not used (pd-redesign) and app has its own component close AUTH-1573
1 parent 3c37732 commit 97a792f

File tree

4 files changed

+4
-42
lines changed

4 files changed

+4
-42
lines changed

app/src/molecules/PipetteSelect/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const specToOption = ({
5050
label: displayName,
5151
})
5252

53-
export const PipetteSelect = (props: PipetteSelectProps): JSX.Element => {
53+
export function PipetteSelect(props: PipetteSelectProps): JSX.Element {
5454
const { tabIndex, enableNoneOption, nameBlocklist = [] } = props
5555
const { t } = useTranslation('shared')
5656
const NONE = t('none')

components/src/instrument/PipetteSelect.stories.tsx

-40
This file was deleted.

components/src/instrument/PipetteSelect.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ const specToOption = ({
5656
label: displayName,
5757
})
5858

59+
/**
60+
* @deprecated The component is no longer used and will be removed in a future release.
61+
*/
5962
export const PipetteSelect = (props: PipetteSelectProps): JSX.Element => {
6063
const {
6164
tabIndex,

components/src/instrument/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export * from './InstrumentDiagram'
22
export * from './InstrumentGroup'
33
export * from './InstrumentInfo'
4-
export * from './PipetteSelect'

0 commit comments

Comments
 (0)