Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Mar 26, 2024
1 parent c031540 commit 0943263
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 0943263

Please sign in to comment.