From 163c020137c325577d59d46aa6afbdbded2184fc Mon Sep 17 00:00:00 2001
From: Jeff Heiges <jehe8729@colorado.edu>
Date: Tue, 11 Mar 2025 09:55:13 +0000
Subject: Fixed all remaining hasOwnProperty errors

---
 diplomacy/web/src/gui/components/tabs.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'diplomacy/web/src/gui/components/tabs.jsx')

diff --git a/diplomacy/web/src/gui/components/tabs.jsx b/diplomacy/web/src/gui/components/tabs.jsx
index a3f6b9b..d0112f2 100644
--- a/diplomacy/web/src/gui/components/tabs.jsx
+++ b/diplomacy/web/src/gui/components/tabs.jsx
@@ -46,7 +46,7 @@ export class Tabs extends React.Component {
                 <nav className={'tabs-bar nav nav-tabs justify-content-center mb-3'}>
                     {this.props.menu.map((tabName, index) => this.generateTabAction(
                         this.props.titles[index], tabName, active === tabName, this.props.onChange,
-                        (this.props.highlights.hasOwnProperty(tabName) && this.props.highlights[tabName]) || null
+                        (Object.prototype.hasOwnProperty.call(this.props.highlights, tabName) && this.props.highlights[tabName]) || null
                     ))}
                 </nav>
                 {this.props.children}
-- 
cgit v1.2.3

