From e6f226022fec3defc21603e859728f2e34bc5176 Mon Sep 17 00:00:00 2001 From: Jethary Date: Tue, 19 Mar 2024 16:26:57 -0400 Subject: [PATCH] remove lines --- .../src/components/StepEditForm/fields/LabwareField.tsx | 1 + .../src/components/StepEditForm/fields/StepFormDropdownField.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/protocol-designer/src/components/StepEditForm/fields/LabwareField.tsx b/protocol-designer/src/components/StepEditForm/fields/LabwareField.tsx index 582dbf41092..75756800ac5 100644 --- a/protocol-designer/src/components/StepEditForm/fields/LabwareField.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/LabwareField.tsx @@ -14,5 +14,6 @@ export const LabwareField = (props: FieldProps): JSX.Element => { props.name === 'dispense_labware' ? [...options, ...disposalOptions] : [...options] + return } diff --git a/protocol-designer/src/components/StepEditForm/fields/StepFormDropdownField.tsx b/protocol-designer/src/components/StepEditForm/fields/StepFormDropdownField.tsx index ccafb78e368..7ed2835269e 100644 --- a/protocol-designer/src/components/StepEditForm/fields/StepFormDropdownField.tsx +++ b/protocol-designer/src/components/StepEditForm/fields/StepFormDropdownField.tsx @@ -27,6 +27,7 @@ export const StepFormDropdown = (props: StepFormDropdownProps): JSX.Element => { const availableOptionIds = options.map(opt => opt.value) // @ts-expect-error (ce, 2021-06-21) unknown not assignable to string const fieldValue = availableOptionIds.includes(value) ? String(value) : null + return (