From 6e05a406d64128120882085a91df75976126724b Mon Sep 17 00:00:00 2001 From: Phil Darnowsky Date: Wed, 20 Mar 2024 16:43:57 -0400 Subject: [PATCH] fixup mollify eslint--table --- browser/src/ConstraintTable/MitochondrialConstraintTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,