From 09432633149fec3fcbf6d3d451f8ae1d6ef23ca6 Mon Sep 17 00:00:00 2001 From: Jethary Date: Tue, 26 Mar 2024 13:14:12 -0400 Subject: [PATCH] fix lint error --- .../components/modals/CreateFileWizard/PipetteTipsTile.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/protocol-designer/src/components/modals/CreateFileWizard/PipetteTipsTile.tsx b/protocol-designer/src/components/modals/CreateFileWizard/PipetteTipsTile.tsx index 2067ea959d2c..b6bb1db73944 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/PipetteTipsTile.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/PipetteTipsTile.tsx @@ -182,10 +182,9 @@ function PipetteTipsField(props: PipetteTipsFieldProps): JSX.Element | null { React.useEffect(() => { if (selectedValues.length === 0) { - setValue( - `pipettesByMount.${mount}.tiprackDefURI`, - [tiprackOptions[0]?.value] ?? [''] - ) + setValue(`pipettesByMount.${mount}.tiprackDefURI`, [ + tiprackOptions[0]?.value ?? '', + ]) } }, [selectedValues, setValue, tiprackOptions])