diff --git a/manage-view/src/components/ShowLog/ShowLog.jsx b/manage-view/src/components/ShowLog/ShowLog.jsx index 4c70d71..ac6d65c 100644 --- a/manage-view/src/components/ShowLog/ShowLog.jsx +++ b/manage-view/src/components/ShowLog/ShowLog.jsx @@ -20,7 +20,7 @@ const ShowLog = () => { const scrollToElement = () => { const hash = window.location.hash; if (hash) { - const targetElement = document.getElementById(hash.slice(1)); // Replace "3" with the desired id + const targetElement = document.getElementById(hash.slice(1)); if (targetElement) { targetElement.scrollIntoView({ behavior: "smooth" }); }