From 6ff7520722bb8fa660ec93e240c195e892bd8e6c Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Sun, 15 Sep 2024 12:20:09 +0200
Subject: [PATCH] delete measurement

---
 src/contents/measurement.tsx | 46 ------------------------------------
 src/headers/mes-h.tsx        | 10 --------
 2 files changed, 56 deletions(-)
 delete mode 100644 src/contents/measurement.tsx
 delete mode 100644 src/headers/mes-h.tsx

diff --git a/src/contents/measurement.tsx b/src/contents/measurement.tsx
deleted file mode 100644
index d09ad1b2..00000000
--- a/src/contents/measurement.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import { useEffect } from "react";
-import { useLocation } from "react-router-dom";
-import { openFromOtherPage } from "../utils/openFromOtherpAge";
-export function Measurement() {
-  const location = useLocation();
-
-    useEffect(() => {
-        const params = new URLSearchParams(location.search);
-        const collapseId = params.get('collapseId');
-        const tabId = params.get('tab');
-
-        // Scroll to the section specified by collapseId
-        if (collapseId) {
-            const collapseElement = document.getElementById(collapseId);
-            if (collapseElement) {
-                const elementTop = collapseElement.getBoundingClientRect().top + window.pageYOffset;
-                const offset = window.innerHeight / 2 - collapseElement.offsetHeight / 2;
-                const scrollPosition = elementTop - offset;
-
-                window.scrollTo({
-                    top: scrollPosition,
-                    behavior: 'smooth',
-                });
-            }
-        }
-
-        // Open the tab specified by tabId
-        if (tabId) {
-            openFromOtherPage(tabId)({ currentTarget: document.getElementById(tabId)! });
-        }
-    }, [location.search]);
-
-    return (
-      <>
-        <div className="row">
-          <div className="col">
-            
-          </div>
-        </div>
-        <div className="row">
-      
-        </div>
-      </>
-    );
-  }
-  
\ No newline at end of file
diff --git a/src/headers/mes-h.tsx b/src/headers/mes-h.tsx
deleted file mode 100644
index 11929f8e..00000000
--- a/src/headers/mes-h.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-export function MESH() {
-
-  return (
-    <HeaderBox title="Measurement">
-      
-    </HeaderBox>
-  );
-}
-
-import HeaderBox from "../components/HeaderBox";
\ No newline at end of file
-- 
GitLab