From aa346b6e52a88c47260c20985fd01a3b3ea54f37 Mon Sep 17 00:00:00 2001 From: Kristjan Eimre Date: Thu, 5 Dec 2024 17:32:41 +0200 Subject: [PATCH] fix structure details section uuid --- src/DetailPage/ParentsSection/index.jsx | 2 -- src/DetailPage/StructureSection/index.jsx | 4 ++-- src/DetailPage/VibrationalSection/index.jsx | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/DetailPage/ParentsSection/index.jsx b/src/DetailPage/ParentsSection/index.jsx index 49c2187..f7a4238 100644 --- a/src/DetailPage/ParentsSection/index.jsx +++ b/src/DetailPage/ParentsSection/index.jsx @@ -122,8 +122,6 @@ const ParentsSection = (props) => { symmetryInfoList.push(getSymmetryInfo(parent.space_group_number)); }); - console.log("parentsList", parentsList); - useEffect(() => { if (selectedParentUuid) { fetchParentStructure(selectedParentUuid).then((loaded) => { diff --git a/src/DetailPage/StructureSection/index.jsx b/src/DetailPage/StructureSection/index.jsx index 164bcc3..f8828e9 100644 --- a/src/DetailPage/StructureSection/index.jsx +++ b/src/DetailPage/StructureSection/index.jsx @@ -27,14 +27,14 @@ const StructureSection = ({ params, loadedData }) => { Explore provenance{" "}
  • Download structure
  • diff --git a/src/DetailPage/VibrationalSection/index.jsx b/src/DetailPage/VibrationalSection/index.jsx index c933e5f..4199c27 100644 --- a/src/DetailPage/VibrationalSection/index.jsx +++ b/src/DetailPage/VibrationalSection/index.jsx @@ -22,7 +22,7 @@ const VibrationalSection = (props) => { const [phononVisData, setPhononVisData] = useState(null); let vibrationalData = props.loadedData.details.vibrational; - console.log(vibrationalData); + console.log("vibrationalData", vibrationalData); let bandsUuid = vibrationalData.phonon_bands_uuid; @@ -39,7 +39,7 @@ const VibrationalSection = (props) => { loadPhononVis(props.params.id).then((data) => { setPhononVisData(data); - console.log("PHONON VIS", data); + console.log("Phonon visualizer data", data); }); }, []);