Skip to content

Commit

Permalink
chore: delete useless console
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyuan0704 authored and zoolsher committed Sep 28, 2023
1 parent 42c2a1a commit 766de51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/theme-default/components/Link/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export function Link(props: LinkProps) {
const hash = withBaseUrl.split('#')[1];
if (!isExternal && inCurrentPage && hash) {
const el = document.getElementById(hash);
console.log(hash, el);
if (el) {
scrollToTarget(el, true);
}
Expand Down

0 comments on commit 766de51

Please sign in to comment.