Skip to content

Commit

Permalink
remove tsc ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin committed May 5, 2021
1 parent 07f08e7 commit 7eeb78f
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ interface ContentProps {
}
const Content = (props: ContentProps): JSX.Element => {
const { values } = props
// @ts-expect-error `includes` doesn't want to take null/undefined
const wellLabel = ['aluminumBlock', 'tubeRack'].includes(values.labwareType)
? 'tube'
: 'well'
const wellLabel =
values.labwareType != null &&
['aluminumBlock', 'tubeRack'].includes(values.labwareType)
? 'tube'
: 'well'
return (
<div className={styles.flex_row}>
<div className={styles.volume_instructions_column}>
Expand Down

0 comments on commit 7eeb78f

Please sign in to comment.