From fc238b4f66f3bba701fd2caec9bec3ff8cb67529 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Sat, 19 Oct 2024 18:11:01 +0300
Subject: stop pushing local changes idiot

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

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

diff --git a/frontend/src/components/UploadRunDialog.tsx b/frontend/src/components/UploadRunDialog.tsx
index 9f417b5..b241ed1 100644
--- a/frontend/src/components/UploadRunDialog.tsx
+++ b/frontend/src/components/UploadRunDialog.tsx
@@ -108,16 +108,16 @@ const UploadRunDialog: React.FC<UploadRunDialogProps> = ({ token, open, onClose,
           return
         }
       }
-      const demo = SourceDemoParser.default()
-        .setOptions({ packets: true })
-        .parse(await uploadRunContent.host_demo.arrayBuffer());
-
-        const scoreboardPacket = demo.findPacket(ScoreboardTempUpdate)
-        if (scoreboardPacket) {
-          console.log(scoreboardPacket)
-        } else {
-          console.log("couldnt find scoreboard packet")
-        }
+      // const demo = SourceDemoParser.default()
+      //   .setOptions({ packets: true })
+      //   .parse(await uploadRunContent.host_demo.arrayBuffer());
+
+      //   const scoreboardPacket = demo.findPacket(ScoreboardTempUpdate)
+      //   if (scoreboardPacket) {
+      //     console.log(scoreboardPacket)
+      //   } else {
+      //     console.log("couldnt find scoreboard packet")
+      //   }
       if (window.confirm("Are you sure you want to submit this run to LPHUB?")) {
         const message = await API.post_record(token, uploadRunContent);
         alert(message);
-- 
cgit v1.2.3

