We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b28a6 commit 5fa5205Copy full SHA for 5fa5205
site/src/app/page.tsx
@@ -14,7 +14,7 @@ import { useEffect } from 'react';
14
15
function SmoothScroll() {
16
useEffect(() => {
17
- const handleAnchorClick = (event) => {
+ const handleAnchorClick = (event: { target: any; preventDefault: () => void; }) => {
18
const target = event.target;
19
20
// Check if the clicked element is an anchor link with a hash href
0 commit comments