From 1800c1239bb4a27b9995b4b099604585bbd4905b Mon Sep 17 00:00:00 2001 From: joseph le Date: Fri, 22 Sep 2023 13:38:42 +0700 Subject: [PATCH] test shell script --- manage-view/src/components/ShowLog/ShowLog.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }); }