Skip to content

Commit

Permalink
fixup mollify eslint--table
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky-broad committed Mar 20, 2024
1 parent 9bf160e commit 6e05a40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser/src/ConstraintTable/MitochondrialConstraintTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { BaseTable } from '@gnomad/ui'

const isProteinMitochondrialGeneConstraint = (
constraint: MitochondrialGeneConstraint
): constraint is ProteinMitochondrialGeneConstraint => constraint.hasOwnProperty('exp_lof')
): constraint is ProteinMitochondrialGeneConstraint =>
Object.prototype.hasOwnProperty.call(constraint, 'exp_lof')

const ConstraintRow = ({
category,
Expand Down

0 comments on commit 6e05a40

Please sign in to comment.