Skip to content

Commit 5fa5205

Browse files
committed
fix: fixed TS error (implicit any)
1 parent 60b28a6 commit 5fa5205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useEffect } from 'react';
1414

1515
function SmoothScroll() {
1616
useEffect(() => {
17-
const handleAnchorClick = (event) => {
17+
const handleAnchorClick = (event: { target: any; preventDefault: () => void; }) => {
1818
const target = event.target;
1919

2020
// Check if the clicked element is an anchor link with a hash href

0 commit comments

Comments
 (0)