diff --git a/src/App.tsx b/src/App.tsx index 40c11ed..9bbcf61 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,11 @@ export default function App() { (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { - window.location.hash = entry.target.id; + if (entry.target.id === "about") { + window.location.hash = ""; + } else { + window.location.hash = entry.target.id; + } } }); },