Skip to content

Commit 1b9c184

Browse files
Small fix
1 parent bf5f3d2 commit 1b9c184

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/app-web-docs/src/docs/components/ScrollToHashId.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export function ScrollToHashId() {
3333

3434
setTimeout(scrollToId, delay);
3535
}
36-
}, [location.hash]);
36+
// oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps
37+
}, []);
3738

3839
return null;
3940
}

0 commit comments

Comments
 (0)