diff --git a/browser/src/ConstraintTable/MitochondrialConstraintTable.tsx b/browser/src/ConstraintTable/MitochondrialConstraintTable.tsx index c8a001720..0c35d8ee7 100644 --- a/browser/src/ConstraintTable/MitochondrialConstraintTable.tsx +++ b/browser/src/ConstraintTable/MitochondrialConstraintTable.tsx @@ -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,