From 83f41fe3b93a26b43087c9986af99f568bf81d8a Mon Sep 17 00:00:00 2001
From: FifthWit <fifthwitbusiness@gmail.com>
Date: Thu, 30 Jan 2025 11:06:30 -0600
Subject: eslint == warning fix

---
 frontend/src/components/UploadRunDialog.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/src/components/UploadRunDialog.tsx')

diff --git a/frontend/src/components/UploadRunDialog.tsx b/frontend/src/components/UploadRunDialog.tsx
index 227a564..5bad80f 100644
--- a/frontend/src/components/UploadRunDialog.tsx
+++ b/frontend/src/components/UploadRunDialog.tsx
@@ -98,9 +98,9 @@ const UploadRunDialog: React.FC<UploadRunDialogProps> = ({
   const _handle_dropdowns = (dropdown: number) => {
     setDropdown1Vis(false);
     setDropdown2Vis(false);
-    if (dropdown == 1) {
+    if (dropdown === 1) {
       setDropdown1Vis(!dropdown1Vis);
-    } else if (dropdown == 2) {
+    } else if (dropdown === 2) {
       setDropdown2Vis(!dropdown2Vis);
       document.querySelector('#dropdown2')?.scrollTo(0, 0);
     }
-- 
cgit v1.2.3

