diff --git a/README.md b/README.md index c6bc72a..79b8b50 100644 --- a/README.md +++ b/README.md @@ -521,6 +521,7 @@ Interpres/ + ## License This project is licensed under the MIT License. diff --git a/src/frontend/app/page.tsx b/src/frontend/app/page.tsx index e01a4d7..ad63425 100644 --- a/src/frontend/app/page.tsx +++ b/src/frontend/app/page.tsx @@ -8,6 +8,7 @@ import Image from "next/image"; export default function LandingPage() { const handleScroll = (e: React.MouseEvent) => { e.preventDefault(); + const href = e.currentTarget.href; const targetId = href.replace(/.*\#/, ""); const elem = document.getElementById(targetId);