diff --git a/src/contents/Home.tsx b/src/contents/Home.tsx index 5abc4d5768f3746fbecf77b9475ffbf129c927c7..1a9dbb46237ae113a8fc856b757aad7d5546771e 100644 --- a/src/contents/Home.tsx +++ b/src/contents/Home.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Home() { const location = useLocation(); diff --git a/src/contents/collaborations.tsx b/src/contents/collaborations.tsx index cde7c71adadd40c1d2d8ed1a39b01f4acf38a21e..c5e2f385228dfe43c6f8ccfca54db1c02a28c11a 100644 --- a/src/contents/collaborations.tsx +++ b/src/contents/collaborations.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Collaborations() { const location = useLocation(); diff --git a/src/contents/contribution.tsx b/src/contents/contribution.tsx index ccdb11e1793a841b28f2a861cdfa28f7acd1aff7..2b9a05dfa5f8265d4c4fdece1b8b226200b816b1 100644 --- a/src/contents/contribution.tsx +++ b/src/contents/contribution.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Contribution() { const location = useLocation(); diff --git a/src/contents/design.tsx b/src/contents/design.tsx index 3edfc41be20abe5103199a60625cd07df1687ea8..b0cd2034758fb3b548373f967beb7e58582fded3 100644 --- a/src/contents/design.tsx +++ b/src/contents/design.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Design() { const location = useLocation(); diff --git a/src/contents/drylab.tsx b/src/contents/drylab.tsx index d4a212701887f5bec76d32785eaa08f87436b423..70a65fa8ce73f3731f56aa517d2f67751efbef22 100644 --- a/src/contents/drylab.tsx +++ b/src/contents/drylab.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Drylab() { const location = useLocation(); diff --git a/src/contents/ethics.tsx b/src/contents/ethics.tsx index f1c1a97eb62f26fb0e72afa6db9d183de92880ee..8538b10ab18c6b80e982cfa662c2fafd6acf55b4 100644 --- a/src/contents/ethics.tsx +++ b/src/contents/ethics.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Ethics() { const location = useLocation(); diff --git a/src/contents/experiments.tsx b/src/contents/experiments.tsx index b9ee8698bf28a35c0124f03ab7993bac2096d9b1..eb24e0926ddfc1d83f7c62cd0487f93f8fc748af 100644 --- a/src/contents/experiments.tsx +++ b/src/contents/experiments.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Experiments() { const location = useLocation(); diff --git a/src/contents/impressum.tsx b/src/contents/impressum.tsx index 2e69f85a1b159a9d99e618bf9f655a1d0abe0e5c..3eec55f9e96eff27ca7d45d11b1f064aa1cc8f02 100644 --- a/src/contents/impressum.tsx +++ b/src/contents/impressum.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import { H2 } from "../components/headings"; export function Impressum() { const location = useLocation(); diff --git a/src/contents/interviews.tsx b/src/contents/interviews.tsx index 7a3818187f10d11f013830fb6c09294b98c69dc6..a9e694d7f15c86146b5953275bf06401bb247399 100644 --- a/src/contents/interviews.tsx +++ b/src/contents/interviews.tsx @@ -3,7 +3,7 @@ import { QaBox, SpecialQaBox } from "../components/Boxes"; import { useEffect } from "react"; import { useLocation } from "react-router-dom"; import { H3, H2 } from "../components/headings"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Ints() { const location = useLocation(); useEffect(() => { diff --git a/src/contents/judging.tsx b/src/contents/judging.tsx index f76b5675ca6ac68f5fe6aeae55a1ccb2c87cab2f..ded41c5727e09fee6e1762b1a14513c477ceecaf 100644 --- a/src/contents/judging.tsx +++ b/src/contents/judging.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Judging() { const location = useLocation(); diff --git a/src/contents/measurement.tsx b/src/contents/measurement.tsx index 96ce8c7641ac3c0efcb2735882a1f0e04137b97a..d09ad1b2da80ca34530af2268f67f5ad8eef148f 100644 --- a/src/contents/measurement.tsx +++ b/src/contents/measurement.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Measurement() { const location = useLocation(); diff --git a/src/contents/notebook.tsx b/src/contents/notebook.tsx index edf42252a7f7d8d47c328e2b6093f084e5fdf134..ae7c0c1c9a114cc35b5335e8ff4f171779293693 100644 --- a/src/contents/notebook.tsx +++ b/src/contents/notebook.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import H1 from "../components/headings"; export function Notebook() { const location = useLocation(); diff --git a/src/contents/parts.tsx b/src/contents/parts.tsx index ad144cd24c585d31e98be11892db4ac6b24e6259..4a0606a96fcc60e57b0a212046a3fbc5847b6342 100644 --- a/src/contents/parts.tsx +++ b/src/contents/parts.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Parts() { const location = useLocation(); diff --git a/src/contents/proof.tsx b/src/contents/proof.tsx index 1ecb272ac3f973b32148176f586b024380999885..358b18e985db8728581e7ad22e16fd08bc720d28 100644 --- a/src/contents/proof.tsx +++ b/src/contents/proof.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import { H2, H3 } from "../components/headings"; export function Proof() { const location = useLocation(); diff --git a/src/contents/results.tsx b/src/contents/results.tsx index e7cf1b212799bbc962d5e2024728fb4d4e4ce199..6cb36fba1cdea20d61fd4159de26b70027af486d 100644 --- a/src/contents/results.tsx +++ b/src/contents/results.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Results() { const location = useLocation(); diff --git a/src/contents/safety.tsx b/src/contents/safety.tsx index c33a30f2289c95f4e7a6c3339d7c1e64d64dec66..ced863d142cbecb819e00ac8a0c673239215e1e6 100644 --- a/src/contents/safety.tsx +++ b/src/contents/safety.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import { H2 } from "../components/headings"; export function Safety() { const location = useLocation(); diff --git a/src/contents/supplementary-material.tsx b/src/contents/supplementary-material.tsx index be01e0b939451102d9578b780261e18cb732b7dd..1a2d5b571f0ca0ad2c7f673e8318316ec8e119c3 100644 --- a/src/contents/supplementary-material.tsx +++ b/src/contents/supplementary-material.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Supplementary() { const location = useLocation(); diff --git a/src/contents/survey.tsx b/src/contents/survey.tsx index 8169e7ed928b0b8a33223e1fc665e2f329108b29..2491d39209c9ef87719fbd5362c210bf1753bd81 100644 --- a/src/contents/survey.tsx +++ b/src/contents/survey.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; export function Survey() { const location = useLocation(); diff --git a/src/contents/team.tsx b/src/contents/team.tsx index be096441247ccf6046c59d89ae620058a1fc766e..be217e832a54e6d45276dd0f49ed3e71988a212e 100644 --- a/src/contents/team.tsx +++ b/src/contents/team.tsx @@ -1,6 +1,6 @@ import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import { H2 } from "../components/headings"; export function Team() { diff --git a/src/contents/wiki.tsx b/src/contents/wiki.tsx index b4c2037f7882130588da1f07e574397c2c967a34..5110c8367caad9186bf14e52f9456cfb0307d684 100644 --- a/src/contents/wiki.tsx +++ b/src/contents/wiki.tsx @@ -3,7 +3,7 @@ import {TabContext, TabList, TabPanel} from '@mui/lab'; import Collapsible from "../components/Collapsible"; import { useEffect } from "react"; import { useLocation } from "react-router-dom"; -import { openFromOtherPage } from "../components/Buttons"; +import { openFromOtherPage } from "../utils/openFromOtherpAge"; import React from "react"; export function Wiki () { const location = useLocation();