diff --git a/src/client/theme-default/composables/outline.ts b/src/client/theme-default/composables/outline.ts index 355e9bc40b53..19ca675d4f1e 100644 --- a/src/client/theme-default/composables/outline.ts +++ b/src/client/theme-default/composables/outline.ts @@ -120,7 +120,6 @@ export function useActiveAnchor( const [isActive, hash] = isAnchorActive(i, anchor, nextAnchor) if (isActive) { - history.replaceState(null, document.title, hash ? hash : ' ') activateLink(hash) return }