diff --git a/src/App.tsx b/src/App.tsx
index bf03175..c8c0d4b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -68,7 +68,7 @@ export default function App() {
Website under construction 🚧👷
-
+
);
}
diff --git a/src/components/SectionScroll.tsx b/src/components/SectionScroll.tsx
index 7cbbb1d..cb6df80 100644
--- a/src/components/SectionScroll.tsx
+++ b/src/components/SectionScroll.tsx
@@ -25,11 +25,7 @@ export default function SectionScroll({ sections }: { sections: string[] }) {
if (newIndex < 0) newIndex = sections.length - 1;
if (newIndex >= sections.length) newIndex = 0;
- const sectionElement = document.getElementById(sections[newIndex]);
- if (sectionElement) {
- sectionElement.scrollIntoView({ behavior: "smooth" });
- }
-
+ window.location.hash = sections[newIndex];
setCurrentSectionIndex(newIndex);
}